Struct olm_rs::account::OneTimeKeys [−][src]
pub struct OneTimeKeys { /* fields omitted */ }Expand description
Struct representing the the one-time keys. The keys can be accessed in a map-like fashion.
Implementations
Get the HashMap containing the curve25519 one-time keys.
This is the same as using get("curve25519").unwrap()
Get a reference to the hashmap corresponding to given key type.
An iterator visiting all one-time key hashmaps in an arbitrary order.
An iterator visiting all one-time key types in an arbitrary order.
An iterator visiting all one-time key types and their respective key hashmaps in an arbitrary order.
Returns true if the struct contains the given key type.
This does not mean that there are any keys for the given key type.
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.