Struct rusoto_ecs::Device [−][src]
pub struct Device { pub container_path: Option<String>, pub host_path: String, pub permissions: Option<Vec<String>>, }
Expand description
An object representing a container instance host device.
Fields
container_path: Option<String>
The path inside the container at which to expose the host device.
host_path: String
The path for the device on the host container instance.
permissions: Option<Vec<String>>
The explicit permissions to provide to the container for the device. By default, the container has permissions for read
, write
, and mknod
for the device.
Trait Implementations
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 RefUnwindSafe for Device
impl UnwindSafe for Device
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self