logo
pub struct RegisterAVSDeviceRequest {
    pub amazon_id: String,
    pub client_id: String,
    pub device_serial_number: Option<String>,
    pub product_id: String,
    pub room_arn: Option<String>,
    pub tags: Option<Vec<Tag>>,
    pub user_code: String,
}

Fields

amazon_id: String

The device type ID for your AVS device generated by Amazon when the OEM creates a new product on Amazon's Developer Console.

client_id: String

The client ID of the OEM used for code-based linking authorization on an AVS device.

device_serial_number: Option<String>

The key generated by the OEM that uniquely identifies a specified instance of your AVS device.

product_id: String

The product ID used to identify your AVS device during authorization.

room_arn: Option<String>

The Amazon Resource Name (ARN) of the room with which to associate your AVS device.

tags: Option<Vec<Tag>>

The tags to be added to the specified resource. Do not provide system tags.

user_code: String

The code that is obtained after your AVS device has made a POST request to LWA as a part of the Device Authorization Request component of the OAuth code-based linking specification.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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