pub enum AlterTextSearchOperation {
RenameTo {
new_name: Ident,
},
OwnerTo(Owner),
SetSchema {
schema_name: ObjectName,
},
SetOptions {
options: Vec<AlterTextSearchOption>,
},
}Expand description
Operation for ALTER TEXT SEARCH ....
See PostgreSQL.
Variants§
RenameTo
RENAME TO new_name
OwnerTo(Owner)
OWNER TO ...
SetSchema
SET SCHEMA schema_name
Fields
§
schema_name: ObjectNameTarget schema.
SetOptions
( option [= value] [, ...] )
Fields
§
options: Vec<AlterTextSearchOption>Text search options to apply.
Trait Implementations§
Source§impl Clone for AlterTextSearchOperation
impl Clone for AlterTextSearchOperation
Source§fn clone(&self) -> AlterTextSearchOperation
fn clone(&self) -> AlterTextSearchOperation
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 AlterTextSearchOperation
impl Debug for AlterTextSearchOperation
Source§impl<'de> Deserialize<'de> for AlterTextSearchOperation
impl<'de> Deserialize<'de> for AlterTextSearchOperation
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 Display for AlterTextSearchOperation
impl Display for AlterTextSearchOperation
impl Eq for AlterTextSearchOperation
Source§impl Hash for AlterTextSearchOperation
impl Hash for AlterTextSearchOperation
Source§impl Ord for AlterTextSearchOperation
impl Ord for AlterTextSearchOperation
Source§fn cmp(&self, other: &AlterTextSearchOperation) -> Ordering
fn cmp(&self, other: &AlterTextSearchOperation) -> Ordering
1.21.0 (const: unstable) · 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 PartialEq for AlterTextSearchOperation
impl PartialEq for AlterTextSearchOperation
Source§fn eq(&self, other: &AlterTextSearchOperation) -> bool
fn eq(&self, other: &AlterTextSearchOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AlterTextSearchOperation
impl PartialOrd for AlterTextSearchOperation
Source§impl Serialize for AlterTextSearchOperation
impl Serialize for AlterTextSearchOperation
impl StructuralPartialEq for AlterTextSearchOperation
Source§impl Visit for AlterTextSearchOperation
impl Visit for AlterTextSearchOperation
Source§impl VisitMut for AlterTextSearchOperation
impl VisitMut for AlterTextSearchOperation
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreAuto Trait Implementations§
impl Freeze for AlterTextSearchOperation
impl RefUnwindSafe for AlterTextSearchOperation
impl Send for AlterTextSearchOperation
impl Sync for AlterTextSearchOperation
impl Unpin for AlterTextSearchOperation
impl UnsafeUnpin for AlterTextSearchOperation
impl UnwindSafe for AlterTextSearchOperation
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