Struct sda_protocol::Agent
[−]
[src]
pub struct Agent {
pub id: AgentId,
pub verification_key: LabelledVerificationKey,
}Fundamental description of agents in the system, i.e. participants, clerks, recipients, and admins.
Primary use is identification, including allowing services to perform access control and logging.
Fields
id: AgentId
Unique identifier of agent.
verification_key: LabelledVerificationKey
Key used for verifying signed resources from agent.
Trait Implementations
impl Clone for Agent[src]
fn clone(&self) -> Agent
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 Agent[src]
impl PartialEq for Agent[src]
fn eq(&self, __arg_0: &Agent) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Agent) -> bool
This method tests for !=.