Struct bollard::container::UploadToContainerOptions
source · pub struct UploadToContainerOptions<T>{
pub path: T,
pub no_overwrite_dir_non_dir: T,
}
Expand description
Parameters used in the Upload To Container API
§Examples
use bollard::container::UploadToContainerOptions;
use std::default::Default;
UploadToContainerOptions{
path: "/opt",
..Default::default()
};
Fields§
§path: T
Path to a directory in the container to extract the archive’s contents into.
no_overwrite_dir_non_dir: T
If “1”, “true”, or “True” then it will be an error if unpacking the given content would cause an existing directory to be replaced with a non-directory and vice versa.
Trait Implementations§
source§impl<T> Clone for UploadToContainerOptions<T>
impl<T> Clone for UploadToContainerOptions<T>
source§fn clone(&self) -> UploadToContainerOptions<T>
fn clone(&self) -> UploadToContainerOptions<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T> Debug for UploadToContainerOptions<T>
impl<T> Debug for UploadToContainerOptions<T>
source§impl<T> Default for UploadToContainerOptions<T>
impl<T> Default for UploadToContainerOptions<T>
source§fn default() -> UploadToContainerOptions<T>
fn default() -> UploadToContainerOptions<T>
Returns the “default value” for a type. Read more
source§impl<T> PartialEq for UploadToContainerOptions<T>
impl<T> PartialEq for UploadToContainerOptions<T>
source§impl<T> Serialize for UploadToContainerOptions<T>
impl<T> Serialize for UploadToContainerOptions<T>
impl<T> StructuralPartialEq for UploadToContainerOptions<T>
Auto Trait Implementations§
impl<T> Freeze for UploadToContainerOptions<T>where
T: Freeze,
impl<T> RefUnwindSafe for UploadToContainerOptions<T>where
T: RefUnwindSafe,
impl<T> Send for UploadToContainerOptions<T>where
T: Send,
impl<T> Sync for UploadToContainerOptions<T>where
T: Sync,
impl<T> Unpin for UploadToContainerOptions<T>where
T: Unpin,
impl<T> UnwindSafe for UploadToContainerOptions<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)