Struct TableMetadata
pub struct TableMetadata { /* private fields */ }Expand description
Table metadata.
Implementations§
§impl TableMetadata
impl TableMetadata
pub const fn new(reference: TableRef) -> TableMetadata
pub const fn new(reference: TableRef) -> TableMetadata
Creates table metadata.
pub const fn with_kind(self, kind: TableKind) -> TableMetadata
pub const fn with_kind(self, kind: TableKind) -> TableMetadata
Sets the table kind.
pub const fn with_status(self, status: TableStatus) -> TableMetadata
pub const fn with_status(self, status: TableStatus) -> TableMetadata
Sets the table status.
pub const fn with_stats(self, stats: TableStats) -> TableMetadata
pub const fn with_stats(self, stats: TableStats) -> TableMetadata
Sets table statistics.
pub const fn status(&self) -> TableStatus
pub const fn status(&self) -> TableStatus
Returns the table status.
pub const fn stats(&self) -> TableStats
pub const fn stats(&self) -> TableStats
Returns the table statistics.
Trait Implementations§
§impl Clone for TableMetadata
impl Clone for TableMetadata
§fn clone(&self) -> TableMetadata
fn clone(&self) -> TableMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for TableMetadata
impl Debug for TableMetadata
§impl PartialEq for TableMetadata
impl PartialEq for TableMetadata
impl Eq for TableMetadata
impl StructuralPartialEq for TableMetadata
Auto Trait Implementations§
impl Freeze for TableMetadata
impl RefUnwindSafe for TableMetadata
impl Send for TableMetadata
impl Sync for TableMetadata
impl Unpin for TableMetadata
impl UnsafeUnpin for TableMetadata
impl UnwindSafe for TableMetadata
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