pub struct SnapshotIndex {
pub name: String,
pub columns: Vec<SnapshotIndexColumn>,
pub is_unique: bool,
pub filter: Option<String>,
pub include: Vec<String>,
}Expand description
A declared index in a model snapshot.
Fields§
§name: StringExplicit or derived index name.
columns: Vec<SnapshotIndexColumn>Key parts, in order.
is_unique: boolUNIQUE index.
filter: Option<String>Rendered partial-index predicate (dialect-specific literals).
include: Vec<String>Non-key included columns (INCLUDE).
Trait Implementations§
Source§impl Clone for SnapshotIndex
impl Clone for SnapshotIndex
Source§impl Debug for SnapshotIndex
impl Debug for SnapshotIndex
Source§impl Default for SnapshotIndex
impl Default for SnapshotIndex
impl Eq for SnapshotIndex
Source§impl PartialEq for SnapshotIndex
impl PartialEq for SnapshotIndex
impl StructuralPartialEq for SnapshotIndex
Auto Trait Implementations§
impl Forget for SnapshotIndex
impl Freeze for SnapshotIndex
impl Move for SnapshotIndex
impl RefUnwindSafe for SnapshotIndex
impl Send for SnapshotIndex
impl Sync for SnapshotIndex
impl Unpin for SnapshotIndex
impl UnsafeUnpin for SnapshotIndex
impl UnwindSafe for SnapshotIndex
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