pub struct HolderId(pub PublicKey);Expand description
Holder identifier.
Holder identities are Nostr public keys encoded with the SDK’s existing Nostr key serialization.
Tuple Fields§
§0: PublicKeyTrait Implementations§
Source§impl<'de> Deserialize<'de> for HolderId
impl<'de> Deserialize<'de> for HolderId
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
Source§impl Ord for HolderId
impl Ord for HolderId
Source§impl PartialOrd for HolderId
impl PartialOrd for HolderId
impl Eq for HolderId
impl StructuralPartialEq for HolderId
Auto Trait Implementations§
impl Freeze for HolderId
impl RefUnwindSafe for HolderId
impl Send for HolderId
impl Sync for HolderId
impl Unpin for HolderId
impl UnsafeUnpin for HolderId
impl UnwindSafe for HolderId
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