Enum diem_sdk::client::MethodRequest[][src]

pub enum MethodRequest {
Show 16 variants Submit((String,)), GetMetadata((Option<u64>,)), GetAccount(AccountAddressOption<u64>), GetTransactions(u64u64bool), GetAccountTransaction(AccountAddressu64bool), GetAccountTransactions(AccountAddressu64u64bool), GetEvents(EventKeyu64u64), GetCurrencies([(); 0]), GetNetworkStatus([(); 0]), GetStateProof((u64,)), GetAccumulatorConsistencyProof(Option<u64>, Option<u64>), GetAccountStateWithProof(AccountAddressOption<u64>, Option<u64>), GetTransactionsWithProofs(u64u64bool), GetAccountTransactionsWithProofs(AccountAddressu64u64boolOption<u64>), GetEventsWithProofs(EventKeyu64u64), GetEventByVersionWithProof(EventKeyOption<u64>),
}

Variants

Submit((String,))

Tuple Fields of Submit

0: (String,)
GetMetadata((Option<u64>,))

Tuple Fields of GetMetadata

0: (Option<u64>,)
GetAccount(AccountAddressOption<u64>)

Tuple Fields of GetAccount

0: AccountAddress1: Option<u64>
GetTransactions(u64u64bool)

Tuple Fields of GetTransactions

0: u641: u642: bool
GetAccountTransaction(AccountAddressu64bool)

Tuple Fields of GetAccountTransaction

0: AccountAddress1: u642: bool
GetAccountTransactions(AccountAddressu64u64bool)

Tuple Fields of GetAccountTransactions

0: AccountAddress1: u642: u643: bool
GetEvents(EventKeyu64u64)

Tuple Fields of GetEvents

0: EventKey1: u642: u64
GetCurrencies([(); 0])

Tuple Fields of GetCurrencies

0: [(); 0]
GetNetworkStatus([(); 0])

Tuple Fields of GetNetworkStatus

0: [(); 0]
GetStateProof((u64,))

Tuple Fields of GetStateProof

0: (u64,)
GetAccumulatorConsistencyProof(Option<u64>, Option<u64>)

Tuple Fields of GetAccumulatorConsistencyProof

0: Option<u64>1: Option<u64>
GetAccountStateWithProof(AccountAddressOption<u64>, Option<u64>)

Tuple Fields of GetAccountStateWithProof

0: AccountAddress1: Option<u64>2: Option<u64>
GetTransactionsWithProofs(u64u64bool)

Tuple Fields of GetTransactionsWithProofs

0: u641: u642: bool
GetAccountTransactionsWithProofs(AccountAddressu64u64boolOption<u64>)

Tuple Fields of GetAccountTransactionsWithProofs

0: AccountAddress1: u642: u643: bool4: Option<u64>
GetEventsWithProofs(EventKeyu64u64)

Tuple Fields of GetEventsWithProofs

0: EventKey1: u642: u64
GetEventByVersionWithProof(EventKeyOption<u64>)

Tuple Fields of GetEventByVersionWithProof

0: EventKey1: Option<u64>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

Generates a hash used only for tests.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more