Struct ruma_signatures::SignatureSet [] [src]

pub struct SignatureSet { /* fields omitted */ }

A set of digital signatures created by a single homeserver.

Methods

impl SignatureSet
[src]

Initializes a new empty SignatureSet.

Initializes a new empty SignatureSet with room for a specific number of signatures.

Parameters

  • capacity: The number of items to allocate memory for.

Adds a signature to the set.

The boolean return value indicates whether or not the value was actually inserted, since subsequent inserts of the same signature have no effect.

Parameters

  • signature: A Signature to insert into the set.

The number of signatures in the set.

Trait Implementations

impl Clone for SignatureSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SignatureSet
[src]

Formats the value using the given formatter.

impl<'de> Deserialize<'de> for SignatureSet
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for SignatureSet
[src]

Serialize this value into the given Serde serializer. Read more