pub struct WatchControlResponse {
pub ok: bool,
pub device_id: String,
pub enabled: bool,
}Fields§
§ok: bool§device_id: String§enabled: boolTrait Implementations§
Source§impl Clone for WatchControlResponse
impl Clone for WatchControlResponse
Source§fn clone(&self) -> WatchControlResponse
fn clone(&self) -> WatchControlResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WatchControlResponse
impl Debug for WatchControlResponse
Source§impl<'de> Deserialize<'de> for WatchControlResponse
impl<'de> Deserialize<'de> for WatchControlResponse
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
impl Eq for WatchControlResponse
Source§impl PartialEq for WatchControlResponse
impl PartialEq for WatchControlResponse
Source§impl Serialize for WatchControlResponse
impl Serialize for WatchControlResponse
impl StructuralPartialEq for WatchControlResponse
Auto Trait Implementations§
impl Freeze for WatchControlResponse
impl RefUnwindSafe for WatchControlResponse
impl Send for WatchControlResponse
impl Sync for WatchControlResponse
impl Unpin for WatchControlResponse
impl UnsafeUnpin for WatchControlResponse
impl UnwindSafe for WatchControlResponse
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