Enum diem_client::MethodRequest [−][src]
Variants
GetAccount((AccountAddress,))
GetAccountTransaction(AccountAddress, u64, bool)
GetAccountTransactions(AccountAddress, u64, u64, bool)
GetAccountStateWithProof(AccountAddress, Option<u64>, Option<u64>)
Implementations
impl MethodRequest
[src]
pub fn submit(txn: &SignedTransaction) -> Result<Self, Error>
[src]
pub fn get_metadata_by_version(version: u64) -> Self
[src]
pub fn get_metadata() -> Self
[src]
pub fn get_account(address: AccountAddress) -> Self
[src]
pub fn get_transactions(
start_seq: u64,
limit: u64,
include_events: bool
) -> Self
[src]
start_seq: u64,
limit: u64,
include_events: bool
) -> Self
pub fn get_account_transaction(
address: AccountAddress,
seq: u64,
include_events: bool
) -> Self
[src]
address: AccountAddress,
seq: u64,
include_events: bool
) -> Self
pub fn get_account_transactions(
address: AccountAddress,
start_seq: u64,
limit: u64,
include_events: bool
) -> Self
[src]
address: AccountAddress,
start_seq: u64,
limit: u64,
include_events: bool
) -> Self
pub fn get_events(key: &str, start_seq: u64, limit: u64) -> Self
[src]
pub fn get_currencies() -> Self
[src]
pub fn get_network_status() -> Self
[src]
pub fn get_state_proof(from_version: u64) -> Self
[src]
pub fn get_account_state_with_proof(
address: AccountAddress,
from_version: Option<u64>,
to_version: Option<u64>
) -> Self
[src]
address: AccountAddress,
from_version: Option<u64>,
to_version: Option<u64>
) -> Self
pub fn get_transactions_with_proofs(start_version: u64, limit: u64) -> Self
[src]
pub fn get_events_with_proofs(key: &str, start_seq: u64, limit: u64) -> Self
[src]
pub fn method(&self) -> Method
[src]
Trait Implementations
impl Debug for MethodRequest
[src]
impl<'de> Deserialize<'de> for MethodRequest
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for MethodRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for MethodRequest
impl Send for MethodRequest
impl Sync for MethodRequest
impl Unpin for MethodRequest
impl UnwindSafe for MethodRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> TestOnlyHash for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,
pub fn test_only_hash(&self) -> HashValue
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,