pub enum DeviceData {
CocoaCamera {
id: usize,
location_id: String,
description: String,
extra: HashMap<String, Value>,
},
DoorbellGrahamCracker {
id: usize,
location_id: String,
description: String,
extra: HashMap<String, Value>,
},
BaseStationV1 {
id: usize,
location_id: String,
description: String,
extra: HashMap<String, Value>,
},
Other,
}Expand description
Data about a device in a Ring account.
Variants§
CocoaCamera
A Ring Security Camera.
For example, a Stick Up Camera.
DoorbellGrahamCracker
A Ring Doorbell.
For example, a Video Doorbell Pro 2.
Fields
BaseStationV1
A Ring Alarm Base Station.
They are available as part of the Alarm Pack.
Fields
Other
A device which is yet to be mapped by the crate.
Trait Implementations§
Source§impl Debug for DeviceData
impl Debug for DeviceData
Source§impl<'de> Deserialize<'de> for DeviceData
impl<'de> Deserialize<'de> for DeviceData
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 Freeze for DeviceData
impl RefUnwindSafe for DeviceData
impl Send for DeviceData
impl Sync for DeviceData
impl Unpin for DeviceData
impl UnwindSafe for DeviceData
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