Struct docker_api::models::DeviceMapping
source · pub struct DeviceMapping {
pub cgroup_permissions: Option<String>,
pub path_in_container: Option<String>,
pub path_on_host: Option<String>,
}
Expand description
A device mapping between the host and container
Fields§
§cgroup_permissions: Option<String>
§path_in_container: Option<String>
§path_on_host: Option<String>
Trait Implementations§
source§impl Clone for DeviceMapping
impl Clone for DeviceMapping
source§fn clone(&self) -> DeviceMapping
fn clone(&self) -> DeviceMapping
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 DeviceMapping
impl Debug for DeviceMapping
source§impl<'de> Deserialize<'de> for DeviceMapping
impl<'de> Deserialize<'de> for DeviceMapping
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<DeviceMapping, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<DeviceMapping, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<DeviceMapping> for DeviceMapping
impl PartialEq<DeviceMapping> for DeviceMapping
source§fn eq(&self, other: &DeviceMapping) -> bool
fn eq(&self, other: &DeviceMapping) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DeviceMapping
impl Serialize for DeviceMapping
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