Enum ruma_common::encryption::OneTimeKey [−][src]
Expand description
A one-time public key for “pre-key” messages.
Variants
A key containing signatures, for the SignedCurve25519 algorithm.
Tuple Fields of SignedKey
0: SignedKey
A string-valued key, for the Ed25519 and Curve25519 algorithms.
Tuple Fields of Key
0: String
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 OneTimeKey
impl Send for OneTimeKey
impl Sync for OneTimeKey
impl Unpin for OneTimeKey
impl UnwindSafe for OneTimeKey
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more