Struct sn_data_types::TransferValidated [−][src]
pub struct TransferValidated { pub signed_debit: SignedDebit, pub signed_credit: SignedCredit, pub replica_debit_sig: SignatureShare, pub replica_credit_sig: SignatureShare, pub replicas: PublicKeySet, }
Expand description
The debiting Replica event raised when ValidateTransfer cmd has been successful.
Fields
signed_debit: SignedDebit
The debit initiated by the Actor.
signed_credit: SignedCredit
The corresponding credit, signed by the Actor.
replica_debit_sig: SignatureShare
Replica signature over the signed debit.
replica_credit_sig: SignatureShare
Replica signature over the signed credit.
replicas: PublicKeySet
The PK Set of the Replicas
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TransferValidated
impl Send for TransferValidated
impl Sync for TransferValidated
impl Unpin for TransferValidated
impl UnwindSafe for TransferValidated
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V