pub struct EntityCatalogDescription { /* private fields */ }Expand description
EntityCatalogDescription
Runtime catalog entry for one registered entity.
Implementations§
Source§impl EntityCatalogDescription
impl EntityCatalogDescription
Sourcepub const fn new(
entity_name: String,
entity_path: String,
store_path: String,
storage: String,
counts: EntityCatalogCounts,
) -> Self
pub const fn new( entity_name: String, entity_path: String, store_path: String, storage: String, counts: EntityCatalogCounts, ) -> Self
Construct one entity catalog entry.
Sourcepub const fn entity_name(&self) -> &str
pub const fn entity_name(&self) -> &str
Stable external entity name.
Sourcepub const fn entity_path(&self) -> &str
pub const fn entity_path(&self) -> &str
Runtime entity path.
Sourcepub const fn store_path(&self) -> &str
pub const fn store_path(&self) -> &str
Owning store path.
Sourcepub const fn indexes(&self) -> u32
pub const fn indexes(&self) -> u32
Number of accepted secondary indexes registered for this entity.
Sourcepub const fn schema_version(&self) -> u32
pub const fn schema_version(&self) -> u32
Accepted schema version for this entity.
Trait Implementations§
Source§impl Clone for EntityCatalogDescription
impl Clone for EntityCatalogDescription
Source§fn clone(&self) -> EntityCatalogDescription
fn clone(&self) -> EntityCatalogDescription
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 EntityCatalogDescription
impl Debug for EntityCatalogDescription
Source§impl<'de> Deserialize<'de> for EntityCatalogDescription
impl<'de> Deserialize<'de> for EntityCatalogDescription
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
impl Eq for EntityCatalogDescription
Source§impl PartialEq for EntityCatalogDescription
impl PartialEq for EntityCatalogDescription
Source§fn eq(&self, other: &EntityCatalogDescription) -> bool
fn eq(&self, other: &EntityCatalogDescription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EntityCatalogDescription
Auto Trait Implementations§
impl Freeze for EntityCatalogDescription
impl RefUnwindSafe for EntityCatalogDescription
impl Send for EntityCatalogDescription
impl Sync for EntityCatalogDescription
impl Unpin for EntityCatalogDescription
impl UnsafeUnpin for EntityCatalogDescription
impl UnwindSafe for EntityCatalogDescription
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