Struct bollard::container::UploadToContainerOptions [−][src]
pub struct UploadToContainerOptions<T> where
T: Into<String> + Serialize, {
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
Returns the “default value” for a type. Read more
Auto Trait Implementations
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more