pub struct Mount {
pub name: Option<String>,
pub source: String,
pub destination: String,
pub driver: Option<String>,
pub mode: String,
pub rw: bool,
pub type_: String,
pub propagation: String,
}
Expand description
Specification for mounts to be added to the container.
Fields§
§name: Option<String>
§source: String
§destination: String
§driver: Option<String>
§mode: String
§rw: bool
§type_: String
§propagation: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mount
impl<'de> Deserialize<'de> for Mount
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more