Struct ic_ledger_types::GetBlocksArgs
source · pub struct GetBlocksArgs {
pub start: BlockIndex,
pub length: u64,
}
Fields§
§start: BlockIndex
The index of the first block to fetch.
length: u64
Max number of blocks to fetch.
Trait Implementations§
source§impl CandidType for GetBlocksArgs
impl CandidType for GetBlocksArgs
source§impl Clone for GetBlocksArgs
impl Clone for GetBlocksArgs
source§fn clone(&self) -> GetBlocksArgs
fn clone(&self) -> GetBlocksArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetBlocksArgs
impl Debug for GetBlocksArgs
source§impl<'de> Deserialize<'de> for GetBlocksArgs
impl<'de> Deserialize<'de> for GetBlocksArgs
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<GetBlocksArgs> for GetBlocksArgs
impl PartialEq<GetBlocksArgs> for GetBlocksArgs
source§fn eq(&self, other: &GetBlocksArgs) -> bool
fn eq(&self, other: &GetBlocksArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.