Struct ruma_common::encryption::SignedKey [−][src]
pub struct SignedKey { pub key: String, pub signatures: SignedKeySignatures, }
Expand description
A key for the SignedCurve25519 algorithm
Fields
key: String
Base64-encoded 32-byte Curve25519 public key.
signatures: SignedKeySignatures
Signatures for the key object.
Implementations
Creates a new SignedKey
with the given key and signatures.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SignedKey
impl UnwindSafe for SignedKey
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more