pub struct ValidatedLedgerTransaction {
pub inner: ValidatedLedgerTransactionInner,
pub summary: Summary,
}
Fields§
§inner: ValidatedLedgerTransactionInner
§summary: Summary
Implementations§
Source§impl ValidatedLedgerTransaction
impl ValidatedLedgerTransaction
pub fn intent_hash_if_user(&self) -> Option<TransactionIntentHash>
pub fn create_ledger_executable(self) -> LedgerExecutable
Sourcepub fn create_executable(
self,
) -> Result<ExecutableTransaction, LedgerTransactionValidationError>
pub fn create_executable( self, ) -> Result<ExecutableTransaction, LedgerTransactionValidationError>
Returns an error if the transaction is a flash
pub fn create_hashes(&self) -> LedgerTransactionHashes
Trait Implementations§
Source§impl HasLedgerTransactionHash for ValidatedLedgerTransaction
impl HasLedgerTransactionHash for ValidatedLedgerTransaction
fn ledger_transaction_hash(&self) -> LedgerTransactionHash
Source§impl IntoExecutable for ValidatedLedgerTransaction
impl IntoExecutable for ValidatedLedgerTransaction
type Error = LedgerTransactionValidationError
fn into_executable( self, _validator: &TransactionValidator, ) -> Result<ExecutableTransaction, Self::Error>
Source§fn into_executable_unwrap(self) -> ExecutableTransactionwhere
Self: Sized,
fn into_executable_unwrap(self) -> ExecutableTransactionwhere
Self: Sized,
For use in tests as a quick mechanism to get an executable.
Validates with a network-independent validator, using the latest settings.
Auto Trait Implementations§
impl Freeze for ValidatedLedgerTransaction
impl RefUnwindSafe for ValidatedLedgerTransaction
impl Send for ValidatedLedgerTransaction
impl Sync for ValidatedLedgerTransaction
impl Unpin for ValidatedLedgerTransaction
impl UnwindSafe for ValidatedLedgerTransaction
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