Enum docker_api::models::MountTypeInlineItem
source · pub enum MountTypeInlineItem {
Bind,
Volume,
Tmpfs,
Npipe,
Cluster,
}
Expand description
The mount type. Available types:
bind
Mounts a file or directory from the host into the container. Must exist prior to creating the container.volume
Creates a volume with the given name and options (or uses a pre-existing volume with the same name and options). These are not removed when the container is removed.tmpfs
Create a tmpfs with the given options. The mount source cannot be specified for tmpfs.npipe
Mounts a named pipe from the host into the container. Must exist prior to creating the container.cluster
a Swarm cluster volume
Variants§
Trait Implementations§
source§impl AsRef<str> for MountTypeInlineItem
impl AsRef<str> for MountTypeInlineItem
source§impl Clone for MountTypeInlineItem
impl Clone for MountTypeInlineItem
source§fn clone(&self) -> MountTypeInlineItem
fn clone(&self) -> MountTypeInlineItem
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 MountTypeInlineItem
impl Debug for MountTypeInlineItem
source§impl<'de> Deserialize<'de> for MountTypeInlineItem
impl<'de> Deserialize<'de> for MountTypeInlineItem
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<MountTypeInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<MountTypeInlineItem, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for MountTypeInlineItem
impl Display for MountTypeInlineItem
source§impl PartialEq<MountTypeInlineItem> for MountTypeInlineItem
impl PartialEq<MountTypeInlineItem> for MountTypeInlineItem
source§fn eq(&self, other: &MountTypeInlineItem) -> bool
fn eq(&self, other: &MountTypeInlineItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MountTypeInlineItem
impl Serialize for MountTypeInlineItem
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