Struct docker_api::api::container::models::DeviceRequest [−][src]
pub struct DeviceRequest {
pub driver: String,
pub count: u64,
pub device_ids: Vec<String>,
pub capabilities: Vec<String>,
pub options: Options,
}
Fields
driver: String
count: u64
device_ids: Vec<String>
capabilities: Vec<String>
options: Options
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 DeviceRequest
impl Send for DeviceRequest
impl Sync for DeviceRequest
impl Unpin for DeviceRequest
impl UnwindSafe for DeviceRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more