pub struct ControllerPairing {
pub controller_id: String,
pub public_key: [u8; 32],
pub admin: bool,
}Expand description
A controller authorized by a completed HAP pairing ceremony.
Fields§
§controller_id: StringCase-sensitive HAP controller pairing identifier.
public_key: [u8; 32]Controller Ed25519 long-term public key.
admin: boolWhether this controller may manage other pairings.
Implementations§
Trait Implementations§
Source§impl Clone for ControllerPairing
impl Clone for ControllerPairing
Source§fn clone(&self) -> ControllerPairing
fn clone(&self) -> ControllerPairing
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 ControllerPairing
impl Debug for ControllerPairing
Source§impl<'de> Deserialize<'de> for ControllerPairing
impl<'de> Deserialize<'de> for ControllerPairing
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
impl Eq for ControllerPairing
Source§impl PartialEq for ControllerPairing
impl PartialEq for ControllerPairing
Source§impl Serialize for ControllerPairing
impl Serialize for ControllerPairing
impl StructuralPartialEq for ControllerPairing
Auto Trait Implementations§
impl Freeze for ControllerPairing
impl RefUnwindSafe for ControllerPairing
impl Send for ControllerPairing
impl Sync for ControllerPairing
impl Unpin for ControllerPairing
impl UnsafeUnpin for ControllerPairing
impl UnwindSafe for ControllerPairing
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