pub struct IndexInput {
pub name: String,
pub columns: Vec<String>,
pub unique: bool,
pub predicate: Option<String>,
}Expand description
Authored index definition without opaque raw SQL metadata.
Fields§
§name: StringIndex name.
columns: Vec<String>Ordered indexed columns.
unique: boolWhether the index is unique.
predicate: Option<String>Optional partial-index predicate.
Trait Implementations§
Source§impl Clone for IndexInput
impl Clone for IndexInput
Source§fn clone(&self) -> IndexInput
fn clone(&self) -> IndexInput
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 IndexInput
impl Debug for IndexInput
Source§impl<'de> Deserialize<'de> for IndexInput
impl<'de> Deserialize<'de> for IndexInput
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 PartialEq for IndexInput
impl PartialEq for IndexInput
impl StructuralPartialEq for IndexInput
Auto Trait Implementations§
impl Freeze for IndexInput
impl RefUnwindSafe for IndexInput
impl Send for IndexInput
impl Sync for IndexInput
impl Unpin for IndexInput
impl UnsafeUnpin for IndexInput
impl UnwindSafe for IndexInput
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