pub struct IcrcAccountTransactionRefreshRequest {
pub cache: IcrcAccountTransactionCacheRequest,
pub now_unix_secs: u64,
pub index_canister_id: Option<String>,
pub page_size: u32,
pub max_pages: Option<u32>,
}Expand description
IcrcAccountTransactionRefreshRequest
Request for a forced complete account-history refresh.
Fields§
§cache: IcrcAccountTransactionCacheRequestStable cache identity.
now_unix_secs: u64Collection start clock in Unix seconds; completion adds monotonic elapsed time.
index_canister_id: Option<String>Optional explicit index canister; otherwise ICRC-106 discovery is used.
page_size: u32Maximum transactions requested per index page.
max_pages: Option<u32>Optional diagnostic bound that fails rather than publishing a partial cache.
Implementations§
Source§impl IcrcAccountTransactionRefreshRequest
impl IcrcAccountTransactionRefreshRequest
Sourcepub const fn new(
cache: IcrcAccountTransactionCacheRequest,
now_unix_secs: u64,
page_size: u32,
) -> Self
pub const fn new( cache: IcrcAccountTransactionCacheRequest, now_unix_secs: u64, page_size: u32, ) -> Self
Constructs a complete refresh request.
Trait Implementations§
impl Eq for IcrcAccountTransactionRefreshRequest
impl StructuralPartialEq for IcrcAccountTransactionRefreshRequest
Auto Trait Implementations§
impl Forget for IcrcAccountTransactionRefreshRequest
impl Freeze for IcrcAccountTransactionRefreshRequest
impl RefUnwindSafe for IcrcAccountTransactionRefreshRequest
impl Send for IcrcAccountTransactionRefreshRequest
impl Sync for IcrcAccountTransactionRefreshRequest
impl Unpin for IcrcAccountTransactionRefreshRequest
impl UnsafeUnpin for IcrcAccountTransactionRefreshRequest
impl UnwindSafe for IcrcAccountTransactionRefreshRequest
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