pub enum LedgerTransaction {
CreateRequest(CreateRequestTransaction),
CashConfirmation(CashConfirmationTransaction),
CreateCancellation(CreateCancellationTransaction),
Send(SendClaimsTransaction),
RedeemRequest(RedeemRequestTransaction),
RedeemFulfillment(RedeemFulfillmentTransaction),
RedeemCancellation(RedeemCancellationTransaction),
}Expand description
All transactions in xand_ledger
Variants§
CreateRequest(CreateRequestTransaction)
CashConfirmation(CashConfirmationTransaction)
See CashConfirmation
CreateCancellation(CreateCancellationTransaction)
Send(SendClaimsTransaction)
RedeemRequest(RedeemRequestTransaction)
RedeemFulfillment(RedeemFulfillmentTransaction)
RedeemCancellation(RedeemCancellationTransaction)
Trait Implementations§
Source§impl Clone for LedgerTransaction
impl Clone for LedgerTransaction
Source§fn clone(&self) -> LedgerTransaction
fn clone(&self) -> LedgerTransaction
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 LedgerTransaction
impl Debug for LedgerTransaction
Source§impl<'de> Deserialize<'de> for LedgerTransaction
impl<'de> Deserialize<'de> for LedgerTransaction
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 From<CashConfirmationTransaction> for LedgerTransaction
impl From<CashConfirmationTransaction> for LedgerTransaction
Source§fn from(original: CashConfirmationTransaction) -> LedgerTransaction
fn from(original: CashConfirmationTransaction) -> LedgerTransaction
Converts to this type from the input type.
Source§impl From<CreateCancellationTransaction> for LedgerTransaction
impl From<CreateCancellationTransaction> for LedgerTransaction
Source§fn from(original: CreateCancellationTransaction) -> LedgerTransaction
fn from(original: CreateCancellationTransaction) -> LedgerTransaction
Converts to this type from the input type.
Source§impl From<CreateRequestTransaction> for LedgerTransaction
impl From<CreateRequestTransaction> for LedgerTransaction
Source§fn from(original: CreateRequestTransaction) -> LedgerTransaction
fn from(original: CreateRequestTransaction) -> LedgerTransaction
Converts to this type from the input type.
Source§impl From<RedeemCancellationTransaction> for LedgerTransaction
impl From<RedeemCancellationTransaction> for LedgerTransaction
Source§fn from(original: RedeemCancellationTransaction) -> LedgerTransaction
fn from(original: RedeemCancellationTransaction) -> LedgerTransaction
Converts to this type from the input type.
Source§impl From<RedeemFulfillmentTransaction> for LedgerTransaction
impl From<RedeemFulfillmentTransaction> for LedgerTransaction
Source§fn from(original: RedeemFulfillmentTransaction) -> LedgerTransaction
fn from(original: RedeemFulfillmentTransaction) -> LedgerTransaction
Converts to this type from the input type.
Source§impl From<RedeemRequestTransaction> for LedgerTransaction
impl From<RedeemRequestTransaction> for LedgerTransaction
Source§fn from(original: RedeemRequestTransaction) -> LedgerTransaction
fn from(original: RedeemRequestTransaction) -> LedgerTransaction
Converts to this type from the input type.
Source§impl From<SendClaimsTransaction> for LedgerTransaction
impl From<SendClaimsTransaction> for LedgerTransaction
Source§fn from(original: SendClaimsTransaction) -> LedgerTransaction
fn from(original: SendClaimsTransaction) -> LedgerTransaction
Converts to this type from the input type.
Source§impl PartialEq for LedgerTransaction
impl PartialEq for LedgerTransaction
Source§impl Serialize for LedgerTransaction
impl Serialize for LedgerTransaction
impl Eq for LedgerTransaction
impl StructuralPartialEq for LedgerTransaction
Auto Trait Implementations§
impl Freeze for LedgerTransaction
impl RefUnwindSafe for LedgerTransaction
impl Send for LedgerTransaction
impl Sync for LedgerTransaction
impl Unpin for LedgerTransaction
impl UnwindSafe for LedgerTransaction
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