pub struct EntityCatalogDescription { /* private fields */ }Implementations§
Source§impl EntityCatalogDescription
impl EntityCatalogDescription
Sourcepub const fn new(
entity_name: String,
entity_path: String,
store_path: String,
storage: String,
counts: EntityCatalogCounts,
) -> EntityCatalogDescription
pub const fn new( entity_name: String, entity_path: String, store_path: String, storage: String, counts: EntityCatalogCounts, ) -> EntityCatalogDescription
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<EntityCatalogDescription, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EntityCatalogDescription, <__D as Deserializer<'de>>::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
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.