Struct aws_sdk_ecs::model::PlatformDevice
source · [−]#[non_exhaustive]pub struct PlatformDevice {
pub id: Option<String>,
pub type: Option<PlatformDeviceType>,
}Expand description
The devices that are available on the container instance. The only supported device type is a GPU.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Option<String>The ID for the GPUs on the container instance. The available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.
type: Option<PlatformDeviceType>The type of device that's available on the container instance. The only supported value is GPU.
Implementations
The ID for the GPUs on the container instance. The available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.
The type of device that's available on the container instance. The only supported value is GPU.
Creates a new builder-style object to manufacture PlatformDevice
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PlatformDevice
impl Send for PlatformDevice
impl Sync for PlatformDevice
impl Unpin for PlatformDevice
impl UnwindSafe for PlatformDevice
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