Struct bollard::models::Volume [−][src]
Fields
name: String
Name of the volume.
driver: String
Name of the volume driver used by the volume.
mountpoint: String
Mount path of the volume on the host.
created_at: Option<DateTime<Utc>>
Date/Time the volume was created.
status: Option<HashMap<String, HashMap<(), (), RandomState>, RandomState>>
Low-level details about the volume, provided by the volume driver. Details are returned as a map with key/value pairs: {\"key\":\"value\",\"key2\":\"value2\"}
. The Status
field is optional, and is omitted if the volume driver does not support this feature.
labels: HashMap<String, String, RandomState>
User-defined key/value metadata.
scope: Option<VolumeScopeEnum>
The level at which the volume exists. Either global
for cluster-wide, or local
for machine level.
options: HashMap<String, String, RandomState>
The driver specific options used when creating the volume.
usage_data: Option<VolumeUsageData>
Trait Implementations
impl Clone for Volume
[src]
impl Debug for Volume
[src]
impl Default for Volume
[src]
impl<'de> Deserialize<'de> for Volume
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Volume, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Volume, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl PartialEq<Volume> for Volume
[src]
impl Serialize for Volume
[src]
pub 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 Volume
[src]
Auto Trait Implementations
impl RefUnwindSafe for Volume
[src]
impl Send for Volume
[src]
impl Sync for Volume
[src]
impl Unpin for Volume
[src]
impl UnwindSafe for Volume
[src]
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,
pub 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> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,