[−][src]Struct bollard::service::VolumeConfig
Volume configuration
Fields
name: Option<String>
The new volume's name. If not specified, Docker generates a name.
driver: Option<String>
Name of the volume driver to use.
driver_opts: Option<HashMap<String, String, RandomState>>
A mapping of driver options and values. These options are passed directly to the driver and are driver specific.
labels: Option<HashMap<String, String, RandomState>>
User-defined key/value metadata.
Trait Implementations
impl Clone for VolumeConfig
[src]
fn clone(&self) -> VolumeConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for VolumeConfig
[src]
impl Default for VolumeConfig
[src]
fn default() -> VolumeConfig
[src]
impl<'de> Deserialize<'de> for VolumeConfig
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<VolumeConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<VolumeConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl PartialEq<VolumeConfig> for VolumeConfig
[src]
fn eq(&self, other: &VolumeConfig) -> bool
[src]
fn ne(&self, other: &VolumeConfig) -> bool
[src]
impl Serialize for VolumeConfig
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralPartialEq for VolumeConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for VolumeConfig
impl Send for VolumeConfig
impl Sync for VolumeConfig
impl Unpin for VolumeConfig
impl UnwindSafe for VolumeConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,