[][src]Struct exonum::blockchain::TransactionMessage

pub struct TransactionMessage { /* fields omitted */ }

Data transfer object for transaction. This structure is used to send api info about transaction, and take some new transaction into pool from user input.

Methods

impl TransactionMessage[src]

pub fn signed_message(&self) -> &SignedMessage[src]

Returns SignedMessage.

pub fn raw_transaction(&self) -> RawTransaction[src]

Returns RawTransaction.

pub fn message(&self) -> &Signed<RawTransaction>[src]

Returns raw transaction message.

pub fn transaction(&self) -> Option<&dyn Transaction>[src]

Returns transaction smart contract.

Trait Implementations

impl Debug for TransactionMessage[src]

impl Serialize for TransactionMessage[src]

impl<'de> Deserialize<'de> for TransactionMessage[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]