pub struct SchemaStoreSnapshot { /* private fields */ }Expand description
SchemaStoreSnapshot
Schema-store diagnostic row.
Implementations§
Source§impl SchemaStoreSnapshot
impl SchemaStoreSnapshot
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 entity_count(&self) -> u64
pub const fn entity_count(&self) -> u64
Return number of entity schemas represented in this schema catalog.
Trait Implementations§
Source§impl CandidType for SchemaStoreSnapshot
impl CandidType for SchemaStoreSnapshot
Source§impl Clone for SchemaStoreSnapshot
impl Clone for SchemaStoreSnapshot
Source§fn clone(&self) -> SchemaStoreSnapshot
fn clone(&self) -> SchemaStoreSnapshot
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 SchemaStoreSnapshot
impl Debug for SchemaStoreSnapshot
Source§impl Default for SchemaStoreSnapshot
impl Default for SchemaStoreSnapshot
Source§fn default() -> SchemaStoreSnapshot
fn default() -> SchemaStoreSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchemaStoreSnapshot
impl<'de> Deserialize<'de> for SchemaStoreSnapshot
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 SchemaStoreSnapshot
impl RefUnwindSafe for SchemaStoreSnapshot
impl Send for SchemaStoreSnapshot
impl Sync for SchemaStoreSnapshot
impl Unpin for SchemaStoreSnapshot
impl UnsafeUnpin for SchemaStoreSnapshot
impl UnwindSafe for SchemaStoreSnapshot
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