pub enum PreparedLedgerTransactionInner {
Genesis(PreparedGenesisTransaction),
User(PreparedUserTransaction),
Validator(PreparedRoundUpdateTransactionV1),
ProtocolUpdate(PreparedFlashTransactionV1),
}
Variants§
Genesis(PreparedGenesisTransaction)
User(PreparedUserTransaction)
Validator(PreparedRoundUpdateTransactionV1)
ProtocolUpdate(PreparedFlashTransactionV1)
Implementations§
Source§impl PreparedLedgerTransactionInner
impl PreparedLedgerTransactionInner
pub fn get_ledger_hash(&self) -> LedgerTransactionHash
Trait Implementations§
Source§impl HasSummary for PreparedLedgerTransactionInner
impl HasSummary for PreparedLedgerTransactionInner
fn get_summary(&self) -> &Summary
fn summary_mut(&mut self) -> &mut Summary
Source§impl TransactionPreparableFromValue for PreparedLedgerTransactionInner
impl TransactionPreparableFromValue for PreparedLedgerTransactionInner
Source§fn prepare_from_value(
decoder: &mut TransactionDecoder<'_>,
) -> Result<Self, PrepareError>
fn prepare_from_value( decoder: &mut TransactionDecoder<'_>, ) -> Result<Self, PrepareError>
Prepares value from a manifest decoder by reading the full SBOR value
That is - the value kind, and then the value body.
Auto Trait Implementations§
impl Freeze for PreparedLedgerTransactionInner
impl RefUnwindSafe for PreparedLedgerTransactionInner
impl Send for PreparedLedgerTransactionInner
impl Sync for PreparedLedgerTransactionInner
impl Unpin for PreparedLedgerTransactionInner
impl UnwindSafe for PreparedLedgerTransactionInner
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