pub struct CharacteristicEvent {
pub aid: u64,
pub iid: u64,
pub value: CharValue,
}Expand description
A characteristic value-change event.
Fields§
§aid: u64Accessory instance id.
iid: u64Characteristic instance id.
value: CharValueThe decoded new value.
Trait Implementations§
Source§impl Clone for CharacteristicEvent
impl Clone for CharacteristicEvent
Source§fn clone(&self) -> CharacteristicEvent
fn clone(&self) -> CharacteristicEvent
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 CharacteristicEvent
impl Debug for CharacteristicEvent
Source§impl PartialEq for CharacteristicEvent
impl PartialEq for CharacteristicEvent
Source§fn eq(&self, other: &CharacteristicEvent) -> bool
fn eq(&self, other: &CharacteristicEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CharacteristicEvent
Auto Trait Implementations§
impl Freeze for CharacteristicEvent
impl RefUnwindSafe for CharacteristicEvent
impl Send for CharacteristicEvent
impl Sync for CharacteristicEvent
impl Unpin for CharacteristicEvent
impl UnsafeUnpin for CharacteristicEvent
impl UnwindSafe for CharacteristicEvent
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