Struct aws_sdk_sagemaker::types::Device
source · #[non_exhaustive]pub struct Device {
pub device_name: Option<String>,
pub description: Option<String>,
pub iot_thing_name: Option<String>,
}
Expand description
Information of a particular device.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.device_name: Option<String>
The name of the device.
description: Option<String>
Description of the device.
iot_thing_name: Option<String>
Amazon Web Services Internet of Things (IoT) object name.
Implementations§
source§impl Device
impl Device
sourcepub fn device_name(&self) -> Option<&str>
pub fn device_name(&self) -> Option<&str>
The name of the device.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description of the device.
sourcepub fn iot_thing_name(&self) -> Option<&str>
pub fn iot_thing_name(&self) -> Option<&str>
Amazon Web Services Internet of Things (IoT) object name.
Trait Implementations§
source§impl PartialEq<Device> for Device
impl PartialEq<Device> for Device
impl StructuralPartialEq for Device
Auto Trait Implementations§
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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