pub struct CxPublicKey {
pub algorithm: String,
pub encoding: Option<String>,
pub key: String,
pub key_id: String,
pub features: Vec<String>,
}Expand description
X25519 public key advertised by a CX-Provider node (IICP-CX S.16 §3.1).
Fields§
§algorithm: String§encoding: Option<String>Encoding for key; directory validation expects base64url on REGISTER.
key: StringBase64url-encoded 32-byte X25519 public key.
key_id: StringStable provider-key identifier, currently cx- plus 16 hex chars.
features: Vec<String>Trait Implementations§
Source§impl Clone for CxPublicKey
impl Clone for CxPublicKey
Source§fn clone(&self) -> CxPublicKey
fn clone(&self) -> CxPublicKey
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 CxPublicKey
impl Debug for CxPublicKey
Source§impl<'de> Deserialize<'de> for CxPublicKey
impl<'de> Deserialize<'de> for CxPublicKey
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
Auto Trait Implementations§
impl Freeze for CxPublicKey
impl RefUnwindSafe for CxPublicKey
impl Send for CxPublicKey
impl Sync for CxPublicKey
impl Unpin for CxPublicKey
impl UnsafeUnpin for CxPublicKey
impl UnwindSafe for CxPublicKey
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