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
id: ParticipationId
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: AgentId
Participant identifier.
This allows a service to keep track, and possible discard, multiple participations from each participant.
aggregation: AggregationId
Aggregation identifier.
recipient_encryption: Option<Encryption>
Encryption intended for recipient.
clerk_encryptions: Vec<(AgentId, Encryption)>
Encryptions intended for the clerks in the committee.
Trait Implementations
impl Clone for Participation
[src]
fn clone(&self) -> Participation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Participation
[src]
impl PartialEq for Participation
[src]
fn eq(&self, __arg_0: &Participation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Participation) -> bool
This method tests for !=
.