pub enum ForeignDataWrapperRoutineClause {
Handler(ObjectName),
NoHandler,
Validator(ObjectName),
NoValidator,
}Expand description
A handler or validator clause of a CREATE FOREIGN DATA WRAPPER statement.
Variants§
Handler(ObjectName)
HANDLER handler_function
NoHandler
NO HANDLER
Validator(ObjectName)
VALIDATOR validator_function
NoValidator
NO VALIDATOR
Trait Implementations§
Source§impl Clone for ForeignDataWrapperRoutineClause
impl Clone for ForeignDataWrapperRoutineClause
Source§fn clone(&self) -> ForeignDataWrapperRoutineClause
fn clone(&self) -> ForeignDataWrapperRoutineClause
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for ForeignDataWrapperRoutineClause
Source§impl Ord for ForeignDataWrapperRoutineClause
impl Ord for ForeignDataWrapperRoutineClause
Source§fn cmp(&self, other: &ForeignDataWrapperRoutineClause) -> Ordering
fn cmp(&self, other: &ForeignDataWrapperRoutineClause) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ForeignDataWrapperRoutineClause
impl PartialOrd for ForeignDataWrapperRoutineClause
impl StructuralPartialEq for ForeignDataWrapperRoutineClause
Auto Trait Implementations§
impl Freeze for ForeignDataWrapperRoutineClause
impl RefUnwindSafe for ForeignDataWrapperRoutineClause
impl Send for ForeignDataWrapperRoutineClause
impl Sync for ForeignDataWrapperRoutineClause
impl Unpin for ForeignDataWrapperRoutineClause
impl UnsafeUnpin for ForeignDataWrapperRoutineClause
impl UnwindSafe for ForeignDataWrapperRoutineClause
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