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.
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
sourceimpl Clone for RegisterAVSDeviceRequest
impl Clone for RegisterAVSDeviceRequest
sourcefn clone(&self) -> RegisterAVSDeviceRequest
fn clone(&self) -> RegisterAVSDeviceRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RegisterAVSDeviceRequest
impl Debug for RegisterAVSDeviceRequest
sourceimpl Default for RegisterAVSDeviceRequest
impl Default for RegisterAVSDeviceRequest
sourcefn default() -> RegisterAVSDeviceRequest
fn default() -> RegisterAVSDeviceRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<RegisterAVSDeviceRequest> for RegisterAVSDeviceRequest
impl PartialEq<RegisterAVSDeviceRequest> for RegisterAVSDeviceRequest
sourcefn eq(&self, other: &RegisterAVSDeviceRequest) -> bool
fn eq(&self, other: &RegisterAVSDeviceRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RegisterAVSDeviceRequest) -> bool
fn ne(&self, other: &RegisterAVSDeviceRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for RegisterAVSDeviceRequest
impl Serialize for RegisterAVSDeviceRequest
impl StructuralPartialEq for RegisterAVSDeviceRequest
Auto Trait Implementations
impl RefUnwindSafe for RegisterAVSDeviceRequest
impl Send for RegisterAVSDeviceRequest
impl Sync for RegisterAVSDeviceRequest
impl Unpin for RegisterAVSDeviceRequest
impl UnwindSafe for RegisterAVSDeviceRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more