Struct cassandra_cpp::SchemaMeta
source · [−]pub struct SchemaMeta(_);
Expand description
A snapshot of the schema’s metadata
Implementations
sourceimpl 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ⓘNotable traits for KeyspaceIteratorimpl Iterator for KeyspaceIterator type Item = KeyspaceMeta;
pub fn keyspace_iter(&mut self) -> KeyspaceIteratorⓘNotable traits for KeyspaceIteratorimpl Iterator for KeyspaceIterator type Item = KeyspaceMeta;
Returns an iterator over the keyspaces in this schema
Trait Implementations
sourceimpl Debug for SchemaMeta
impl Debug for SchemaMeta
Auto Trait Implementations
impl RefUnwindSafe for SchemaMeta
impl !Send for SchemaMeta
impl !Sync for SchemaMeta
impl Unpin for SchemaMeta
impl UnwindSafe for SchemaMeta
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more