pub struct LinuxParameters {
pub devices: Option<Vec<Device>>,
}
Expand description
Linux-specific modifications that are applied to the container, such as details for device mappings.
Fields§
§devices: Option<Vec<Device>>
Any host devices to expose to the container. This parameter maps to Devices
in the Create a container section of the Docker Remote API and the --device
option to docker run.
Trait Implementations§
Source§impl Clone for LinuxParameters
impl Clone for LinuxParameters
Source§fn clone(&self) -> LinuxParameters
fn clone(&self) -> LinuxParameters
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 LinuxParameters
impl Debug for LinuxParameters
Source§impl Default for LinuxParameters
impl Default for LinuxParameters
Source§fn default() -> LinuxParameters
fn default() -> LinuxParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinuxParameters
impl<'de> Deserialize<'de> for LinuxParameters
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 LinuxParameters
impl PartialEq for LinuxParameters
Source§impl Serialize for LinuxParameters
impl Serialize for LinuxParameters
impl StructuralPartialEq for LinuxParameters
Auto Trait Implementations§
impl Freeze for LinuxParameters
impl RefUnwindSafe for LinuxParameters
impl Send for LinuxParameters
impl Sync for LinuxParameters
impl Unpin for LinuxParameters
impl UnwindSafe for LinuxParameters
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