pub struct InspectDevice {
pub cgroup_permissions: Option<String>,
pub path_in_container: Option<String>,
pub path_on_host: Option<String>,
}
Available on crate feature
v5
only.Expand description
InspectDevice is a single device that will be mounted into the container.
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 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
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