pub struct CreateTextSearchParser {
pub name: ObjectName,
pub options: Vec<SqlOption>,
}Expand description
CREATE TEXT SEARCH PARSER statement.
Note: this is a PostgreSQL-specific statement. https://www.postgresql.org/docs/current/sql-createtsparser.html
Fields§
§name: ObjectNameName of the text search parser being created.
options: Vec<SqlOption>Options list — must include START, GETTOKEN, END, LEXTYPES (and optionally HEADLINE).
Trait Implementations§
Source§impl Clone for CreateTextSearchParser
impl Clone for CreateTextSearchParser
Source§fn clone(&self) -> CreateTextSearchParser
fn clone(&self) -> CreateTextSearchParser
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 CreateTextSearchParser
impl Debug for CreateTextSearchParser
Source§impl<'de> Deserialize<'de> for CreateTextSearchParser
impl<'de> Deserialize<'de> for CreateTextSearchParser
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 CreateTextSearchParser
impl Display for CreateTextSearchParser
Source§impl From<CreateTextSearchParser> for Statement
impl From<CreateTextSearchParser> for Statement
Source§fn from(v: CreateTextSearchParser) -> Self
fn from(v: CreateTextSearchParser) -> Self
Converts to this type from the input type.
Source§impl Hash for CreateTextSearchParser
impl Hash for CreateTextSearchParser
Source§impl Ord for CreateTextSearchParser
impl Ord for CreateTextSearchParser
Source§fn cmp(&self, other: &CreateTextSearchParser) -> Ordering
fn cmp(&self, other: &CreateTextSearchParser) -> 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 PartialEq for CreateTextSearchParser
impl PartialEq for CreateTextSearchParser
Source§impl PartialOrd for CreateTextSearchParser
impl PartialOrd for CreateTextSearchParser
Source§impl Serialize for CreateTextSearchParser
impl Serialize for CreateTextSearchParser
Source§impl Visit for CreateTextSearchParser
impl Visit for CreateTextSearchParser
Source§impl VisitMut for CreateTextSearchParser
impl VisitMut for CreateTextSearchParser
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 moreimpl Eq for CreateTextSearchParser
impl StructuralPartialEq for CreateTextSearchParser
Auto Trait Implementations§
impl Freeze for CreateTextSearchParser
impl RefUnwindSafe for CreateTextSearchParser
impl Send for CreateTextSearchParser
impl Sync for CreateTextSearchParser
impl Unpin for CreateTextSearchParser
impl UnsafeUnpin for CreateTextSearchParser
impl UnwindSafe for CreateTextSearchParser
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