pub struct MemberPublicKey {
pub account_id: String,
pub public_hex: String,
}Expand description
A member’s published X25519 identity public key (the recipient key
crate::crypto::wrap_org_key wraps against), addressed by account_id.
public_hex is the lowercase hex of the 32-byte X25519 point produced by
crate::crypto::x25519_public; the directory stores it opaquely and does
not validate the point (validation happens at wrap/unwrap time).
Fields§
§account_id: String§public_hex: StringTrait Implementations§
Source§impl Clone for MemberPublicKey
impl Clone for MemberPublicKey
Source§impl Debug for MemberPublicKey
impl Debug for MemberPublicKey
Source§impl<'de> Deserialize<'de> for MemberPublicKey
impl<'de> Deserialize<'de> for MemberPublicKey
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 MemberPublicKey
Source§impl PartialEq for MemberPublicKey
impl PartialEq for MemberPublicKey
Source§impl Serialize for MemberPublicKey
impl Serialize for MemberPublicKey
impl StructuralPartialEq for MemberPublicKey
Auto Trait Implementations§
impl Freeze for MemberPublicKey
impl RefUnwindSafe for MemberPublicKey
impl Send for MemberPublicKey
impl Sync for MemberPublicKey
impl Unpin for MemberPublicKey
impl UnsafeUnpin for MemberPublicKey
impl UnwindSafe for MemberPublicKey
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