pub struct CreditAgreementProof {
pub signed_credit: SignedCredit,
pub debiting_replicas_sig: Signature,
pub debiting_replicas_keys: ReplicaPublicKeySet,
}
Expand description
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§
Source§impl CreditAgreementProof
impl CreditAgreementProof
Sourcepub fn replica_keys(&self) -> ReplicaPublicKeySet
pub fn replica_keys(&self) -> ReplicaPublicKeySet
Get the PublicKeySet of the replica that validated this credit
Trait Implementations§
Source§impl Clone for CreditAgreementProof
impl Clone for CreditAgreementProof
Source§fn clone(&self) -> CreditAgreementProof
fn clone(&self) -> CreditAgreementProof
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreditAgreementProof
impl Debug for CreditAgreementProof
Source§impl<'de> Deserialize<'de> for CreditAgreementProof
impl<'de> Deserialize<'de> for CreditAgreementProof
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CreditAgreementProof
impl Display for CreditAgreementProof
Source§impl PartialEq for CreditAgreementProof
impl PartialEq for CreditAgreementProof
Source§impl Serialize for CreditAgreementProof
impl Serialize for CreditAgreementProof
impl Eq for CreditAgreementProof
impl StructuralPartialEq for CreditAgreementProof
Auto Trait Implementations§
impl Freeze for CreditAgreementProof
impl RefUnwindSafe for CreditAgreementProof
impl Send for CreditAgreementProof
impl Sync for CreditAgreementProof
impl Unpin for CreditAgreementProof
impl UnwindSafe for CreditAgreementProof
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more