[][src]Struct safe_nd::DebitAgreementProof

pub struct DebitAgreementProof {
    pub signed_transfer: SignedTransfer,
    pub debiting_replicas_sig: Signature,
    pub replica_key: ReplicaPublicKeySet,
}

The aggregated Replica signatures of the Actor debit cmd.

Fields

signed_transfer: SignedTransfer

The cmd generated by sender Actor.

debiting_replicas_sig: Signature

Quorum of Replica sigs over the transfer cmd.

replica_key: ReplicaPublicKeySet

PublicKeySet of the replica when it validated the transfer.

Implementations

impl DebitAgreementProof[src]

pub fn id(&self) -> TransferId[src]

Get the transfer id

pub fn amount(&self) -> Money[src]

Get the amount of this transfer

pub fn from(&self) -> PublicKey[src]

Get the sender of this transfer

pub fn to(&self) -> PublicKey[src]

Get the recipient of this transfer

pub fn replica_keys(&self) -> ReplicaPublicKeySet[src]

Get the PublicKeySet of the replica that validated this transfer

Trait Implementations

impl Clone for DebitAgreementProof[src]

impl Debug for DebitAgreementProof[src]

impl<'de> Deserialize<'de> for DebitAgreementProof[src]

impl Eq for DebitAgreementProof[src]

impl Hash for DebitAgreementProof[src]

impl PartialEq<DebitAgreementProof> for DebitAgreementProof[src]

impl PartialOrd<DebitAgreementProof> for DebitAgreementProof[src]

impl Serialize for DebitAgreementProof[src]

impl StructuralEq for DebitAgreementProof[src]

impl StructuralPartialEq for DebitAgreementProof[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Member for T where
    T: Clone + Eq + Hash
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,