Struct ic_ledger_types::QueryArchiveFn
source · pub struct QueryArchiveFn(/* private fields */);
Expand description
Function type used by query_blocks
for fetching blocks from the archive.
Has the signature (
GetBlocksArgs
) -> (
GetBlocksResult
)
.
Trait Implementations§
source§impl CandidType for QueryArchiveFn
impl CandidType for QueryArchiveFn
source§impl Clone for QueryArchiveFn
impl Clone for QueryArchiveFn
source§fn clone(&self) -> QueryArchiveFn
fn clone(&self) -> QueryArchiveFn
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 QueryArchiveFn
impl Debug for QueryArchiveFn
source§impl<'de> Deserialize<'de> for QueryArchiveFn
impl<'de> Deserialize<'de> for QueryArchiveFn
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 From<Func> for QueryArchiveFn
impl From<Func> for QueryArchiveFn
source§impl From<QueryArchiveFn> for Func
impl From<QueryArchiveFn> for Func
source§fn from(query_func: QueryArchiveFn) -> Self
fn from(query_func: QueryArchiveFn) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for QueryArchiveFn
impl Send for QueryArchiveFn
impl Sync for QueryArchiveFn
impl Unpin for QueryArchiveFn
impl UnwindSafe for QueryArchiveFn
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more