pub struct SchemaMeta(/* private fields */);
Expand description
A snapshot of the schema’s metadata
Implementations§
Source§impl SchemaMeta
impl SchemaMeta
Sourcepub fn snapshot_version(&self) -> u32
pub fn snapshot_version(&self) -> u32
Gets the version of the schema metadata snapshot.
Sourcepub fn get_keyspace_by_name(&self, keyspace: &str) -> KeyspaceMeta
pub fn get_keyspace_by_name(&self, keyspace: &str) -> KeyspaceMeta
Gets the keyspace metadata for the provided keyspace name.
Sourcepub fn keyspace_iter(&mut self) -> KeyspaceIterator ⓘ
pub fn keyspace_iter(&mut self) -> KeyspaceIterator ⓘ
Returns an iterator over the keyspaces in this schema
Trait Implementations§
Source§impl Debug for SchemaMeta
impl Debug for SchemaMeta
Auto Trait Implementations§
impl Freeze for SchemaMeta
impl RefUnwindSafe for SchemaMeta
impl !Send for SchemaMeta
impl !Sync for SchemaMeta
impl Unpin for SchemaMeta
impl UnwindSafe for SchemaMeta
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