pub enum MountPointTypeInlineItem {
Bind,
Volume,
Tmpfs,
Npipe,
Cluster,
}
Expand description
The mount type:
bind
a mount of a file or directory from the host into the container.volume
a docker volume with the givenName
.tmpfs
atmpfs
.npipe
a named pipe from the host into the container.cluster
a Swarm cluster volume
Variants§
Trait Implementations§
Source§impl AsRef<str> for MountPointTypeInlineItem
impl AsRef<str> for MountPointTypeInlineItem
Source§impl Clone for MountPointTypeInlineItem
impl Clone for MountPointTypeInlineItem
Source§fn clone(&self) -> MountPointTypeInlineItem
fn clone(&self) -> MountPointTypeInlineItem
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 Debug for MountPointTypeInlineItem
impl Debug for MountPointTypeInlineItem
Source§impl<'de> Deserialize<'de> for MountPointTypeInlineItem
impl<'de> Deserialize<'de> for MountPointTypeInlineItem
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MountPointTypeInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MountPointTypeInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MountPointTypeInlineItem
impl Display for MountPointTypeInlineItem
Source§impl PartialEq for MountPointTypeInlineItem
impl PartialEq for MountPointTypeInlineItem
Source§impl Serialize for MountPointTypeInlineItem
impl Serialize for MountPointTypeInlineItem
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for MountPointTypeInlineItem
Auto Trait Implementations§
impl Freeze for MountPointTypeInlineItem
impl RefUnwindSafe for MountPointTypeInlineItem
impl Send for MountPointTypeInlineItem
impl Sync for MountPointTypeInlineItem
impl Unpin for MountPointTypeInlineItem
impl UnwindSafe for MountPointTypeInlineItem
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