Struct pulumi_wasm_docker::ContainerDevice
source · pub struct ContainerDevice {
pub container_path: Box<Option<String>>,
pub host_path: Box<String>,
pub permissions: Box<Option<String>>,
}
Fields§
§container_path: Box<Option<String>>
The path in the container where the device will be bound.
host_path: Box<String>
The path on the host where the device is located.
permissions: Box<Option<String>>
The cgroup permissions given to the container to access the device. Defaults to rwm
.
Implementations§
source§impl ContainerDevice
impl ContainerDevice
sourcepub fn builder() -> ContainerDeviceBuilder
pub fn builder() -> ContainerDeviceBuilder
Create an instance of ContainerDevice
using the builder syntax
Trait Implementations§
source§impl Debug for ContainerDevice
impl Debug for ContainerDevice
source§impl<'de> Deserialize<'de> for ContainerDevice
impl<'de> Deserialize<'de> for ContainerDevice
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 ContainerDevice
impl RefUnwindSafe for ContainerDevice
impl Send for ContainerDevice
impl Sync for ContainerDevice
impl Unpin for ContainerDevice
impl UnwindSafe for ContainerDevice
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