[][src]Struct rusoto_greengrass::Device

pub struct Device {
    pub certificate_arn: Option<String>,
    pub id: Option<String>,
    pub sync_shadow: Option<bool>,
    pub thing_arn: Option<String>,
}

Information about a device.

Fields

certificate_arn: Option<String>

The ARN of the certificate associated with the device.

id: Option<String>

A descriptive or arbitrary ID for the device. This value must be unique within the device definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

sync_shadow: Option<bool>

If true, the device's local shadow will be automatically synced with the cloud.

thing_arn: Option<String>

The thing ARN of the device.

Trait Implementations

impl Default for Device[src]

impl Clone for Device[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<Device> for Device[src]

impl Debug for Device[src]

impl Serialize for Device[src]

impl<'de> Deserialize<'de> for Device[src]

Auto Trait Implementations

impl Send for Device

impl Sync for Device

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same<T> for T

type Output = T

Should always be Self