pub struct CharRead {
pub aid: u64,
pub iid: u64,
pub value: Option<CharValue>,
pub status: Option<i64>,
}Expand description
One decoded entry from a GET /characteristics response.
Fields§
§aid: u64Accessory instance id.
iid: u64Characteristic instance id.
value: Option<CharValue>The decoded value, if the entry carried one.
status: Option<i64>The HAP status code, if present (0 = success).
Trait Implementations§
impl StructuralPartialEq for CharRead
Auto Trait Implementations§
impl Freeze for CharRead
impl RefUnwindSafe for CharRead
impl Send for CharRead
impl Sync for CharRead
impl Unpin for CharRead
impl UnsafeUnpin for CharRead
impl UnwindSafe for CharRead
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