pub struct DeviceMappingBuilder { /* private fields */ }
Expand description
Builder for DeviceMapping
.
Implementations§
Source§impl DeviceMappingBuilder
impl DeviceMappingBuilder
pub fn path_on_host<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn path_in_container<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn cgroup_permissions<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for DeviceMappingBuilder
impl Clone for DeviceMappingBuilder
Source§fn clone(&self) -> DeviceMappingBuilder
fn clone(&self) -> DeviceMappingBuilder
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 Default for DeviceMappingBuilder
impl Default for DeviceMappingBuilder
Source§fn default() -> DeviceMappingBuilder
fn default() -> DeviceMappingBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeviceMappingBuilder
impl RefUnwindSafe for DeviceMappingBuilder
impl Send for DeviceMappingBuilder
impl Sync for DeviceMappingBuilder
impl Unpin for DeviceMappingBuilder
impl UnwindSafe for DeviceMappingBuilder
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