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.
Implementations§
Source§impl InspectDevice
impl InspectDevice
pub fn new() -> InspectDevice
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InspectDevice
impl Debug for InspectDevice
Source§impl Default for InspectDevice
impl Default for InspectDevice
Source§fn default() -> InspectDevice
fn default() -> InspectDevice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InspectDevice
impl<'de> Deserialize<'de> for InspectDevice
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
Source§impl PartialEq for InspectDevice
impl PartialEq for InspectDevice
Source§impl Serialize for InspectDevice
impl Serialize for InspectDevice
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