pub struct TextSearchConfiguration(/* private fields */);Expand description
A PostgreSQL text search configuration name.
Implementations§
Source§impl TextSearchConfiguration
impl TextSearchConfiguration
Sourcepub const fn from_static_or_panic(input: &'static str) -> Self
pub const fn from_static_or_panic(input: &'static str) -> Self
Creates a new value from a static string.
§Panics
Panics if the input is empty, exceeds MAX_LENGTH, or contains NUL bytes.
Trait Implementations§
Source§impl AsRef<str> for TextSearchConfiguration
impl AsRef<str> for TextSearchConfiguration
Source§impl Clone for TextSearchConfiguration
impl Clone for TextSearchConfiguration
Source§fn clone(&self) -> TextSearchConfiguration
fn clone(&self) -> TextSearchConfiguration
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 TextSearchConfiguration
impl Debug for TextSearchConfiguration
Source§impl<'de> Deserialize<'de> for TextSearchConfiguration
impl<'de> Deserialize<'de> for TextSearchConfiguration
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 TextSearchConfiguration
impl Display for TextSearchConfiguration
Source§impl FromStr for TextSearchConfiguration
impl FromStr for TextSearchConfiguration
Source§impl Ord for TextSearchConfiguration
impl Ord for TextSearchConfiguration
Source§fn cmp(&self, other: &TextSearchConfiguration) -> Ordering
fn cmp(&self, other: &TextSearchConfiguration) -> 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 TextSearchConfiguration
impl PartialEq for TextSearchConfiguration
Source§impl PartialOrd for TextSearchConfiguration
impl PartialOrd for TextSearchConfiguration
Source§impl Serialize for TextSearchConfiguration
impl Serialize for TextSearchConfiguration
Source§impl TryFrom<String> for TextSearchConfiguration
impl TryFrom<String> for TextSearchConfiguration
impl Eq for TextSearchConfiguration
impl StructuralPartialEq for TextSearchConfiguration
Auto Trait Implementations§
impl Freeze for TextSearchConfiguration
impl RefUnwindSafe for TextSearchConfiguration
impl Send for TextSearchConfiguration
impl Sync for TextSearchConfiguration
impl Unpin for TextSearchConfiguration
impl UnsafeUnpin for TextSearchConfiguration
impl UnwindSafe for TextSearchConfiguration
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