pub struct OperatorClass(/* private fields */);Expand description
A PostgreSQL operator class name.
Implementations§
Source§impl OperatorClass
impl OperatorClass
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 OperatorClass
impl AsRef<str> for OperatorClass
Source§impl Clone for OperatorClass
impl Clone for OperatorClass
Source§fn clone(&self) -> OperatorClass
fn clone(&self) -> OperatorClass
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 OperatorClass
impl Debug for OperatorClass
Source§impl<'de> Deserialize<'de> for OperatorClass
impl<'de> Deserialize<'de> for OperatorClass
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 OperatorClass
impl Display for OperatorClass
Source§impl FromStr for OperatorClass
impl FromStr for OperatorClass
Source§impl Ord for OperatorClass
impl Ord for OperatorClass
Source§fn cmp(&self, other: &OperatorClass) -> Ordering
fn cmp(&self, other: &OperatorClass) -> 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 OperatorClass
impl PartialEq for OperatorClass
Source§impl PartialOrd for OperatorClass
impl PartialOrd for OperatorClass
Source§impl Serialize for OperatorClass
impl Serialize for OperatorClass
Source§impl TryFrom<String> for OperatorClass
impl TryFrom<String> for OperatorClass
impl Eq for OperatorClass
impl StructuralPartialEq for OperatorClass
Auto Trait Implementations§
impl Freeze for OperatorClass
impl RefUnwindSafe for OperatorClass
impl Send for OperatorClass
impl Sync for OperatorClass
impl Unpin for OperatorClass
impl UnsafeUnpin for OperatorClass
impl UnwindSafe for OperatorClass
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