Struct sn_data_types::CreditAgreementProof[][src]

pub struct CreditAgreementProof {
    pub signed_credit: SignedCredit,
    pub debiting_replicas_sig: Signature,
    pub debiting_replicas_keys: ReplicaPublicKeySet,
}

The aggregated Replica signatures of the Actor debit cmd.

Fields

signed_credit: SignedCredit

The cmd generated by sender Actor.

debiting_replicas_sig: Signature

Quorum of Replica sigs over the credit.

debiting_replicas_keys: ReplicaPublicKeySet

PublicKeySet of the replica when it validated the debit.

Implementations

impl CreditAgreementProof[src]

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

Get the credit id

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

Get the amount of this credit

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

Get the recipient of this credit

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

Get the PublicKeySet of the replica that validated this credit

Trait Implementations

impl Clone for CreditAgreementProof[src]

impl Debug for CreditAgreementProof[src]

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

impl Display for CreditAgreementProof[src]

impl Eq for CreditAgreementProof[src]

impl PartialEq<CreditAgreementProof> for CreditAgreementProof[src]

impl Serialize for CreditAgreementProof[src]

impl StructuralEq for CreditAgreementProof[src]

impl StructuralPartialEq for CreditAgreementProof[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> 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> ToString for T where
    T: Display + ?Sized
[src]

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>,