Struct sda_protocol::helpers::Signed [] [src]

pub struct Signed<M> where M: Clone + Debug + PartialEq + Serialize + Deserialize {
    pub signature: Signature,
    pub signer: AgentId,
    pub body: M,
}

Abstract object for signed message together with the signature and claimed signer.

Fields

Trait Implementations

impl<M: Clone> Clone for Signed<M> where M: Clone + Debug + PartialEq + Serialize + Deserialize
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<M: Debug> Debug for Signed<M> where M: Clone + Debug + PartialEq + Serialize + Deserialize
[src]

Formats the value using the given formatter.

impl<M: PartialEq> PartialEq for Signed<M> where M: Clone + Debug + PartialEq + Serialize + Deserialize
[src]

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

This method tests for !=.

impl<M> Deref for Signed<M> where M: Clone + Debug + PartialEq + Serialize + Deserialize
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<ID, M> Identified for Signed<M> where M: Identified<I=ID> + Clone + Debug + PartialEq + Serialize + Deserialize,
        ID: Id
[src]