[][src]Struct ha_api::types::DeviceRegistrationRequest

pub struct DeviceRegistrationRequest {
    pub device_id: String,
    pub app_id: String,
    pub app_name: String,
    pub app_version: String,
    pub device_name: String,
    pub manufacturer: String,
    pub model: String,
    pub os_name: String,
    pub os_version: String,
    pub supports_encryption: bool,
    pub app_data: AppData,
}

Fields

device_id: Stringapp_id: Stringapp_name: Stringapp_version: Stringdevice_name: Stringmanufacturer: Stringmodel: Stringos_name: Stringos_version: Stringsupports_encryption: boolapp_data: AppData

Trait Implementations

impl Debug for DeviceRegistrationRequest[src]

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

impl Serialize for DeviceRegistrationRequest[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

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

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.