Struct spacetimedb_sats::db::def::IndexSchema
source · pub struct IndexSchema {
pub index_id: IndexId,
pub table_id: TableId,
pub index_type: IndexType,
pub index_name: String,
pub is_unique: bool,
pub columns: ColList,
}
Expand description
A struct representing the schema of a database index.
Fields§
§index_id: IndexId
§table_id: TableId
§index_type: IndexType
§index_name: String
§is_unique: bool
§columns: ColList
Implementations§
source§impl IndexSchema
impl IndexSchema
Trait Implementations§
source§impl Clone for IndexSchema
impl Clone for IndexSchema
source§fn clone(&self) -> IndexSchema
fn clone(&self) -> IndexSchema
Returns a copy 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 moresource§impl Debug for IndexSchema
impl Debug for IndexSchema
source§impl From<IndexSchema> for IndexDef
impl From<IndexSchema> for IndexDef
source§fn from(value: IndexSchema) -> Self
fn from(value: IndexSchema) -> Self
Converts to this type from the input type.
source§impl PartialEq for IndexSchema
impl PartialEq for IndexSchema
source§fn eq(&self, other: &IndexSchema) -> bool
fn eq(&self, other: &IndexSchema) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IndexSchema
impl StructuralPartialEq for IndexSchema
Auto Trait Implementations§
impl RefUnwindSafe for IndexSchema
impl Send for IndexSchema
impl Sync for IndexSchema
impl Unpin for IndexSchema
impl UnwindSafe for IndexSchema
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