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