pub struct BuiltinBTreeOperatorClass {
pub oid: u32,
pub name: &'static str,
pub default: bool,
pub family_oid: u32,
pub input_type_oid: u32,
pub comparison_oid: u32,
}Fields§
§oid: u32§name: &'static str§default: bool§family_oid: u32§input_type_oid: u32§comparison_oid: u32Implementations§
Source§impl BuiltinBTreeOperatorClass
impl BuiltinBTreeOperatorClass
Sourcepub fn bind_input<'a>(
&'static self,
declared_type: &'a ColumnType,
selected_name: &str,
control: &ProductionControl<'_>,
) -> Result<BoundBTreeOperatorClass<'a>, SQLError>
pub fn bind_input<'a>( &'static self, declared_type: &'a ColumnType, selected_name: &str, control: &ProductionControl<'_>, ) -> Result<BoundBTreeOperatorClass<'a>, SQLError>
Bind an explicitly selected class as PostgreSQL’s IsBinaryCoercible check does. The caller supplies the selected name’s diagnostic spelling, including any schema qualifier. Function and assignment-only casts do not make an input acceptable.
Source§impl BuiltinBTreeOperatorClass
impl BuiltinBTreeOperatorClass
pub fn comparison_kind(&self) -> BuiltinBTreeComparison
Trait Implementations§
Source§impl Clone for BuiltinBTreeOperatorClass
impl Clone for BuiltinBTreeOperatorClass
impl Copy for BuiltinBTreeOperatorClass
Source§impl Debug for BuiltinBTreeOperatorClass
impl Debug for BuiltinBTreeOperatorClass
impl Eq for BuiltinBTreeOperatorClass
impl StructuralPartialEq for BuiltinBTreeOperatorClass
Auto Trait Implementations§
impl Freeze for BuiltinBTreeOperatorClass
impl RefUnwindSafe for BuiltinBTreeOperatorClass
impl Send for BuiltinBTreeOperatorClass
impl Sync for BuiltinBTreeOperatorClass
impl Unpin for BuiltinBTreeOperatorClass
impl UnsafeUnpin for BuiltinBTreeOperatorClass
impl UnwindSafe for BuiltinBTreeOperatorClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more