pub struct ExposedAccessory {
pub entity_id: EntityId,
pub accessory_type: HapAccessoryType,
pub mapping: AccessoryMapping,
}Expand description
One registered HAP accessory — an entity + its last-known mapping.
Fields§
§entity_id: EntityId§accessory_type: HapAccessoryType§mapping: AccessoryMappingTrait Implementations§
Source§impl Clone for ExposedAccessory
impl Clone for ExposedAccessory
Source§fn clone(&self) -> ExposedAccessory
fn clone(&self) -> ExposedAccessory
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 ExposedAccessory
impl RefUnwindSafe for ExposedAccessory
impl Send for ExposedAccessory
impl Sync for ExposedAccessory
impl Unpin for ExposedAccessory
impl UnsafeUnpin for ExposedAccessory
impl UnwindSafe for ExposedAccessory
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