pub struct SchemaInfo {
pub keyspace: String,
pub table: String,
pub partition_key: Vec<ColumnDefinition>,
pub clustering_keys: Vec<ClusteringColumn>,
pub regular_columns: Vec<ColumnDefinition>,
pub static_columns: Vec<ColumnDefinition>,
pub collection_types: HashMap<String, CollectionType>,
pub user_defined_types: Vec<UDTDefinition>,
pub indexes: Vec<IndexDefinition>,
pub table_options: TableOptions,
pub metadata: SchemaMetadata,
}Expand description
Comprehensive schema information extracted from SSTables
Fields§
§keyspace: StringKeyspace name
table: StringTable name
partition_key: Vec<ColumnDefinition>Partition key columns with ordering
clustering_keys: Vec<ClusteringColumn>Clustering key columns with ordering
regular_columns: Vec<ColumnDefinition>Regular data columns
static_columns: Vec<ColumnDefinition>Static columns (if any)
collection_types: HashMap<String, CollectionType>Collection type definitions
user_defined_types: Vec<UDTDefinition>User-defined type definitions
indexes: Vec<IndexDefinition>Secondary index definitions
table_options: TableOptionsTable configuration options
metadata: SchemaMetadataSchema discovery metadata
Trait Implementations§
Source§impl Clone for SchemaInfo
impl Clone for SchemaInfo
Source§fn clone(&self) -> SchemaInfo
fn clone(&self) -> SchemaInfo
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 SchemaInfo
impl Debug for SchemaInfo
Source§impl<'de> Deserialize<'de> for SchemaInfo
impl<'de> Deserialize<'de> for SchemaInfo
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
Auto Trait Implementations§
impl Freeze for SchemaInfo
impl RefUnwindSafe for SchemaInfo
impl Send for SchemaInfo
impl Sync for SchemaInfo
impl Unpin for SchemaInfo
impl UnsafeUnpin for SchemaInfo
impl UnwindSafe for SchemaInfo
Blanket Implementations§
impl<T> Allocation for T
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