pub struct FullTextOrSpatialConstraint {
pub fulltext: bool,
pub index_type_display: KeyOrIndexDisplay,
pub opt_index_name: Option<Ident>,
pub columns: Vec<IndexColumn>,
}Expand description
Fields§
§fulltext: boolWhether this is a FULLTEXT (true) or SPATIAL (false) definition.
index_type_display: KeyOrIndexDisplayWhether the type is followed by the keyword KEY, INDEX, or no keyword at all.
opt_index_name: Option<Ident>Optional index name.
columns: Vec<IndexColumn>Referred column identifier list.
Trait Implementations§
Source§impl Clone for FullTextOrSpatialConstraint
impl Clone for FullTextOrSpatialConstraint
Source§fn clone(&self) -> FullTextOrSpatialConstraint
fn clone(&self) -> FullTextOrSpatialConstraint
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 FullTextOrSpatialConstraint
impl Debug for FullTextOrSpatialConstraint
Source§impl<'de> Deserialize<'de> for FullTextOrSpatialConstraint
impl<'de> Deserialize<'de> for FullTextOrSpatialConstraint
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 From<FullTextOrSpatialConstraint> for TableConstraint
impl From<FullTextOrSpatialConstraint> for TableConstraint
Source§fn from(constraint: FullTextOrSpatialConstraint) -> Self
fn from(constraint: FullTextOrSpatialConstraint) -> Self
Converts to this type from the input type.
Source§impl Hash for FullTextOrSpatialConstraint
impl Hash for FullTextOrSpatialConstraint
Source§impl Ord for FullTextOrSpatialConstraint
impl Ord for FullTextOrSpatialConstraint
Source§fn cmp(&self, other: &FullTextOrSpatialConstraint) -> Ordering
fn cmp(&self, other: &FullTextOrSpatialConstraint) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for FullTextOrSpatialConstraint
impl PartialOrd for FullTextOrSpatialConstraint
Source§impl Visit for FullTextOrSpatialConstraint
impl Visit for FullTextOrSpatialConstraint
Source§impl VisitMut for FullTextOrSpatialConstraint
impl VisitMut for FullTextOrSpatialConstraint
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for FullTextOrSpatialConstraint
impl StructuralPartialEq for FullTextOrSpatialConstraint
Auto Trait Implementations§
impl Freeze for FullTextOrSpatialConstraint
impl RefUnwindSafe for FullTextOrSpatialConstraint
impl Send for FullTextOrSpatialConstraint
impl Sync for FullTextOrSpatialConstraint
impl Unpin for FullTextOrSpatialConstraint
impl UnwindSafe for FullTextOrSpatialConstraint
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