pub struct IcrcAccountTransactionCacheStatusReport {
pub schema_version: u32,
pub ledger_canister_id: String,
pub account_owner: String,
pub subaccount_hex: Option<String>,
pub source_endpoint: String,
pub found: bool,
pub cache: Option<IcrcAccountTransactionCacheSummary>,
pub expected_cache_path: String,
pub refresh_attempt_path: String,
pub refresh_lock_path: String,
pub latest_attempt: Option<IcrcAccountTransactionRefreshAttemptStatus>,
}Expand description
IcrcAccountTransactionCacheStatusReport
Serializable local cache and latest-refresh status.
Fields§
§schema_version: u32Report schema version.
ledger_canister_id: StringLedger canister in the requested cache identity.
account_owner: StringAccount owner in the requested cache identity.
subaccount_hex: Option<String>Subaccount in the requested cache identity.
source_endpoint: StringIC API endpoint in the requested cache identity.
found: boolWhether a cache file exists at the expected path.
cache: Option<IcrcAccountTransactionCacheSummary>Validation summary when a cache file exists.
expected_cache_path: StringExpected complete-cache path.
refresh_attempt_path: StringRefresh-attempt sidecar path.
refresh_lock_path: StringRefresh lock path.
latest_attempt: Option<IcrcAccountTransactionRefreshAttemptStatus>Latest refresh-attempt state when present.
Trait Implementations§
Source§impl Clone for IcrcAccountTransactionCacheStatusReport
impl Clone for IcrcAccountTransactionCacheStatusReport
Source§fn clone(&self) -> IcrcAccountTransactionCacheStatusReport
fn clone(&self) -> IcrcAccountTransactionCacheStatusReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for IcrcAccountTransactionCacheStatusReport
impl StructuralPartialEq for IcrcAccountTransactionCacheStatusReport
Auto Trait Implementations§
impl Freeze for IcrcAccountTransactionCacheStatusReport
impl RefUnwindSafe for IcrcAccountTransactionCacheStatusReport
impl Send for IcrcAccountTransactionCacheStatusReport
impl Sync for IcrcAccountTransactionCacheStatusReport
impl Unpin for IcrcAccountTransactionCacheStatusReport
impl UnsafeUnpin for IcrcAccountTransactionCacheStatusReport
impl UnwindSafe for IcrcAccountTransactionCacheStatusReport
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