Struct sda_protocol::Participation [] [src]

pub struct Participation {
    pub id: ParticipationId,
    pub participant: AgentId,
    pub aggregation: AggregationId,
    pub recipient_encryption: Option<Encryption>,
    pub clerk_encryptions: Vec<(AgentId, Encryption)>,
}

Description of a participant's input to an aggregation.

Fields

Unique identifier of this participation.

This allows a service to keep track, and possible discard, participations that where sent several times, for instance as a result of retries due to communication errors.

Participant identifier.

This allows a service to keep track, and possible discard, multiple participations from each participant.

Aggregation identifier.

Encryption intended for recipient.

Encryptions intended for the clerks in the committee.

Trait Implementations

impl Clone for Participation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Participation
[src]

Formats the value using the given formatter.

impl PartialEq for Participation
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Identified for Participation
[src]