pub struct InspectDevice {
pub cgroup_permissions: Option<String>,
pub path_in_container: Option<String>,
pub path_on_host: Option<String>,
}
Fields§
§cgroup_permissions: Option<String>
CgroupPermissions is the permissions of the mounted device. Presently not populated. TODO.
path_in_container: Option<String>
PathInContainer is the path of the device within the container.
path_on_host: Option<String>
PathOnHost is the path of the device on the host.
Trait Implementations§
Source§impl Clone for InspectDevice
impl Clone for InspectDevice
Source§fn clone(&self) -> InspectDevice
fn clone(&self) -> InspectDevice
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InspectDevice
impl Debug for InspectDevice
Source§impl<'de> Deserialize<'de> for InspectDevice
impl<'de> Deserialize<'de> for InspectDevice
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InspectDevice, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InspectDevice, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InspectDevice
impl PartialEq for InspectDevice
Source§impl Serialize for InspectDevice
impl Serialize for InspectDevice
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 InspectDevice
Auto Trait Implementations§
impl Freeze for InspectDevice
impl RefUnwindSafe for InspectDevice
impl Send for InspectDevice
impl Sync for InspectDevice
impl Unpin for InspectDevice
impl UnwindSafe for InspectDevice
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