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

Unique identifier of agent.

Key used for verifying signed resources from agent.

Trait Implementations

impl Clone for Agent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Agent
[src]

Formats the value using the given formatter.

impl PartialEq for Agent
[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 Agent
[src]