pub struct DataStoreSnapshot { /* private fields */ }Expand description
DataStoreSnapshot
Data-store snapshot row.
Implementations§
Source§impl DataStoreSnapshot
impl DataStoreSnapshot
Sourcepub const fn memory_id(&self) -> Option<u8>
pub const fn memory_id(&self) -> Option<u8>
Return stable-memory manager ID, when generated wiring supplied it.
Sourcepub const fn stable_key(&self) -> Option<&str>
pub const fn stable_key(&self) -> Option<&str>
Return durable stable-memory key, when generated wiring supplied it.
Sourcepub const fn schema_version(&self) -> Option<u32>
pub const fn schema_version(&self) -> Option<u32>
Return accepted schema/catalog version, when known.
Sourcepub const fn schema_fingerprint(&self) -> Option<&str>
pub const fn schema_fingerprint(&self) -> Option<&str>
Return accepted schema/catalog fingerprint, when known.
Sourcepub const fn memory_bytes(&self) -> u64
pub const fn memory_bytes(&self) -> u64
Return memory usage in bytes.
Trait Implementations§
Source§impl CandidType for DataStoreSnapshot
impl CandidType for DataStoreSnapshot
Source§impl Clone for DataStoreSnapshot
impl Clone for DataStoreSnapshot
Source§fn clone(&self) -> DataStoreSnapshot
fn clone(&self) -> DataStoreSnapshot
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 moreSource§impl Debug for DataStoreSnapshot
impl Debug for DataStoreSnapshot
Source§impl Default for DataStoreSnapshot
impl Default for DataStoreSnapshot
Source§fn default() -> DataStoreSnapshot
fn default() -> DataStoreSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataStoreSnapshot
impl<'de> Deserialize<'de> for DataStoreSnapshot
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
Auto Trait Implementations§
impl Freeze for DataStoreSnapshot
impl RefUnwindSafe for DataStoreSnapshot
impl Send for DataStoreSnapshot
impl Sync for DataStoreSnapshot
impl Unpin for DataStoreSnapshot
impl UnsafeUnpin for DataStoreSnapshot
impl UnwindSafe for DataStoreSnapshot
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