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

Formats the value using the given formatter. Read more

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 !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.