pub struct CharacteristicEvent {
pub entity_id: EntityId,
pub accessory_type: HapAccessoryType,
pub characteristics: Vec<(HapCharacteristic, HapCharacteristicValue)>,
}Expand description
A characteristic snapshot emitted after a registered entity changes.
Fields§
§entity_id: EntityId§accessory_type: HapAccessoryType§characteristics: Vec<(HapCharacteristic, HapCharacteristicValue)>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 moreAuto 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