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: StringBase64-encoded 32-byte Curve25519 public key.
signatures: SignedKeySignaturesSignatures 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>,
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 RefUnwindSafe for SignedKeyimpl UnwindSafe for SignedKeyBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more