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
sourceimpl CandidType for GetBlocksArgs
impl CandidType for GetBlocksArgs
sourceimpl Clone for GetBlocksArgs
impl Clone for GetBlocksArgs
sourcefn clone(&self) -> GetBlocksArgs
fn clone(&self) -> GetBlocksArgs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetBlocksArgs
impl Debug for GetBlocksArgs
sourceimpl<'de> Deserialize<'de> for GetBlocksArgs
impl<'de> Deserialize<'de> for GetBlocksArgs
sourcefn 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
sourceimpl PartialEq<GetBlocksArgs> for GetBlocksArgs
impl PartialEq<GetBlocksArgs> for GetBlocksArgs
sourcefn eq(&self, other: &GetBlocksArgs) -> bool
fn eq(&self, other: &GetBlocksArgs) -> bool
sourceimpl Serialize for GetBlocksArgs
impl Serialize for GetBlocksArgs
impl Eq for GetBlocksArgs
impl StructuralEq for GetBlocksArgs
impl StructuralPartialEq for GetBlocksArgs
Auto Trait Implementations
impl RefUnwindSafe for GetBlocksArgs
impl Send for GetBlocksArgs
impl Sync for GetBlocksArgs
impl Unpin for GetBlocksArgs
impl UnwindSafe for GetBlocksArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more