pub struct DeviceInfoBasicResult {Show 13 fields
pub avatar: String,
pub device_id: String,
pub fw_ver: String,
pub has_set_location_info: bool,
pub hw_ver: String,
pub latitude: Option<i64>,
pub longitude: Option<i64>,
pub mac: String,
pub model: String,
pub nickname: Option<String>,
pub oem_id: String,
pub region: Option<String>,
pub type: String,
}Expand description
Basic device info of a Tapo device.
Fields§
§avatar: String§device_id: String§fw_ver: String§has_set_location_info: bool§hw_ver: String§latitude: Option<i64>§longitude: Option<i64>§mac: String§model: String§nickname: Option<String>§oem_id: String§region: Option<String>§type: StringTrait Implementations§
Source§impl Clone for DeviceInfoBasicResult
impl Clone for DeviceInfoBasicResult
Source§impl Debug for DeviceInfoBasicResult
impl Debug for DeviceInfoBasicResult
Source§impl<'de> Deserialize<'de> for DeviceInfoBasicResult
impl<'de> Deserialize<'de> for DeviceInfoBasicResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for DeviceInfoBasicResult
impl Freeze for DeviceInfoBasicResult
impl Move for DeviceInfoBasicResult
impl RefUnwindSafe for DeviceInfoBasicResult
impl Send for DeviceInfoBasicResult
impl Sync for DeviceInfoBasicResult
impl Unpin for DeviceInfoBasicResult
impl UnsafeUnpin for DeviceInfoBasicResult
impl UnwindSafe for DeviceInfoBasicResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more