pub struct IndexSnapshot {
pub columns: Vec<String>,
pub unique: bool,
}Expand description
Snapshot of a secondary index defined on a table.
Fields§
§columns: Vec<String>Names of the columns covered by the index, in index order.
unique: boolWhether the index enforces uniqueness across the covered columns.
Trait Implementations§
Source§impl Clone for IndexSnapshot
impl Clone for IndexSnapshot
Source§fn clone(&self) -> IndexSnapshot
fn clone(&self) -> IndexSnapshot
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 moreSource§impl Debug for IndexSnapshot
impl Debug for IndexSnapshot
Source§impl<'de> Deserialize<'de> for IndexSnapshot
impl<'de> Deserialize<'de> for IndexSnapshot
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
Source§impl Encode for IndexSnapshot
impl Encode for IndexSnapshot
Source§const ALIGNMENT: PageOffset = 32
const ALIGNMENT: PageOffset = 32
The alignment requirement in bytes for the data type. Read more
Source§impl PartialEq for IndexSnapshot
impl PartialEq for IndexSnapshot
Source§impl Serialize for IndexSnapshot
impl Serialize for IndexSnapshot
impl Eq for IndexSnapshot
impl StructuralPartialEq for IndexSnapshot
Auto Trait Implementations§
impl Freeze for IndexSnapshot
impl RefUnwindSafe for IndexSnapshot
impl Send for IndexSnapshot
impl Sync for IndexSnapshot
impl Unpin for IndexSnapshot
impl UnsafeUnpin for IndexSnapshot
impl UnwindSafe for IndexSnapshot
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