[][src]Struct exonum_explorer::api::websocket::CommittedTransactionSummary

pub struct CommittedTransactionSummary {
    pub tx_hash: Hash,
    pub instance_id: InstanceId,
    pub method_id: MethodId,
    pub status: ExecutionStatus,
    pub location: TxLocation,
    pub location_proof: ListProof<Hash>,
    pub time: DateTime<Utc>,
}

Summary about a particular transaction in the blockchain. Does not include transaction content.

Fields

tx_hash: Hash

Transaction identifier.

instance_id: InstanceId

ID of service.

method_id: MethodId

ID of the method within service.

status: ExecutionStatus

Result of transaction execution.

location: TxLocation

Transaction location in the blockchain.

location_proof: ListProof<Hash>

Proof of existence.

time: DateTime<Utc>

Approximate finalization time.

Methods

impl CommittedTransactionSummary[src]

pub fn new(schema: &Schema<impl Access>, tx_hash: &Hash) -> Option<Self>[src]

Constructs a transaction summary from the core schema.

Trait Implementations

impl Debug for CommittedTransactionSummary[src]

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

impl Serialize for CommittedTransactionSummary[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,