pub struct SnapshotCursor {
pub max_activated_wallet_registry_seq_id: u64,
pub max_activated_secret_vault_seq_id: u64,
pub max_activated_balance_vault_seq_id: u64,
pub vault_count: Ex3Uint,
pub max_wallet_id: Option<WalletRegisterId>,
pub max_asset_id: Option<AssetId>,
pub max_spot_market_id: Option<SpotMarketId>,
}
Fields§
§max_activated_wallet_registry_seq_id: u64
The snapshot max activated wallet registry seq id
max_activated_secret_vault_seq_id: u64
The snapshot max activated secret vault seq id
max_activated_balance_vault_seq_id: u64
The snapshot max activated balance vault seq id
vault_count: Ex3Uint
The snapshot vault count Includes core registry,wallet registry,secret vault, and balance vault.
max_wallet_id: Option<WalletRegisterId>
The snapshot max wallet id
max_asset_id: Option<AssetId>
The snapshot max asset id
max_spot_market_id: Option<SpotMarketId>
The snapshot max spot market id
Implementations§
source§impl SnapshotCursor
impl SnapshotCursor
pub fn apply_consensus_report(&mut self, consensus_report: &ConsensusReport)
Trait Implementations§
source§impl Clone for SnapshotCursor
impl Clone for SnapshotCursor
source§fn clone(&self) -> SnapshotCursor
fn clone(&self) -> SnapshotCursor
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 SnapshotCursor
impl Debug for SnapshotCursor
source§impl Default for SnapshotCursor
impl Default for SnapshotCursor
source§impl<'de> Deserialize<'de> for SnapshotCursor
impl<'de> Deserialize<'de> for SnapshotCursor
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<CandidSnapshotCursor> for SnapshotCursor
impl From<CandidSnapshotCursor> for SnapshotCursor
source§fn from(candid_snapshot_cursor: CandidSnapshotCursor) -> Self
fn from(candid_snapshot_cursor: CandidSnapshotCursor) -> Self
Converts to this type from the input type.
source§impl From<SnapshotCursor> for CandidSnapshotCursor
impl From<SnapshotCursor> for CandidSnapshotCursor
source§fn from(snapshot_cursor: SnapshotCursor) -> Self
fn from(snapshot_cursor: SnapshotCursor) -> Self
Converts to this type from the input type.
source§impl PartialEq for SnapshotCursor
impl PartialEq for SnapshotCursor
source§fn eq(&self, other: &SnapshotCursor) -> bool
fn eq(&self, other: &SnapshotCursor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SnapshotCursor
impl Serialize for SnapshotCursor
source§impl Storable for SnapshotCursor
impl Storable for SnapshotCursor
source§fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
Converts bytes into an element.
source§fn to_bytes_checked(&self) -> Cow<'_, [u8]>
fn to_bytes_checked(&self) -> Cow<'_, [u8]>
Like
to_bytes
, but includes additional checks to ensure the element’s serialized bytes
are within the element’s bounds.impl Eq for SnapshotCursor
impl StructuralPartialEq for SnapshotCursor
Auto Trait Implementations§
impl Freeze for SnapshotCursor
impl RefUnwindSafe for SnapshotCursor
impl Send for SnapshotCursor
impl Sync for SnapshotCursor
impl Unpin for SnapshotCursor
impl UnwindSafe for SnapshotCursor
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