pub enum SchemaSource {
Discovered(Vec<PathBuf>),
External(PathBuf),
Cql(String),
Manual,
}Expand description
Source of schema information
Variants§
Discovered(Vec<PathBuf>)
Discovered from SSTable files
External(PathBuf)
Loaded from external definition
Cql(String)
Parsed from CQL DDL
Manual
Manually registered
Trait Implementations§
Source§impl Clone for SchemaSource
impl Clone for SchemaSource
Source§fn clone(&self) -> SchemaSource
fn clone(&self) -> SchemaSource
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 moreAuto Trait Implementations§
impl Freeze for SchemaSource
impl RefUnwindSafe for SchemaSource
impl Send for SchemaSource
impl Sync for SchemaSource
impl Unpin for SchemaSource
impl UnsafeUnpin for SchemaSource
impl UnwindSafe for SchemaSource
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