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

pub struct TransactionFilter {
    pub instance_id: InstanceId,
    pub method_id: Option<MethodId>,
}

Filter for transactions by service instance and (optionally) method identifier within the service.

Fields

instance_id: InstanceId

ID of the service.

method_id: Option<MethodId>

Optional ID of a method within the service. If not set, transactions belonging to all service methods will be sent.

Methods

impl TransactionFilter[src]

pub fn new(instance_id: InstanceId, method_id: Option<MethodId>) -> Self[src]

Creates a new transaction filter.

Trait Implementations

impl Clone for TransactionFilter[src]

impl Debug for TransactionFilter[src]

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

impl Eq for TransactionFilter[src]

impl Hash for TransactionFilter[src]

impl Ord for TransactionFilter[src]

impl PartialEq<TransactionFilter> for TransactionFilter[src]

impl PartialOrd<TransactionFilter> for TransactionFilter[src]

impl Serialize for TransactionFilter[src]

impl StructuralEq for TransactionFilter[src]

impl StructuralPartialEq for TransactionFilter[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,