pub enum FdwRoutineClause {
Function(ObjectName),
NoFunction,
}Expand description
The handler/validator clause of a CREATE FOREIGN DATA WRAPPER statement.
Specifies either a named function or the absence of a function.
Variants§
Function(ObjectName)
A named function, e.g. HANDLER myhandler or VALIDATOR myvalidator.
NoFunction
The NO HANDLER or NO VALIDATOR form.
Trait Implementations§
Source§impl Clone for FdwRoutineClause
impl Clone for FdwRoutineClause
Source§fn clone(&self) -> FdwRoutineClause
fn clone(&self) -> FdwRoutineClause
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 FdwRoutineClause
impl Debug for FdwRoutineClause
Source§impl<'de> Deserialize<'de> for FdwRoutineClause
impl<'de> Deserialize<'de> for FdwRoutineClause
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 Hash for FdwRoutineClause
impl Hash for FdwRoutineClause
Source§impl Ord for FdwRoutineClause
impl Ord for FdwRoutineClause
Source§fn cmp(&self, other: &FdwRoutineClause) -> Ordering
fn cmp(&self, other: &FdwRoutineClause) -> 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 FdwRoutineClause
impl PartialEq for FdwRoutineClause
Source§impl PartialOrd for FdwRoutineClause
impl PartialOrd for FdwRoutineClause
Source§impl Serialize for FdwRoutineClause
impl Serialize for FdwRoutineClause
Source§impl Visit for FdwRoutineClause
impl Visit for FdwRoutineClause
Source§impl VisitMut for FdwRoutineClause
impl VisitMut for FdwRoutineClause
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 FdwRoutineClause
impl StructuralPartialEq for FdwRoutineClause
Auto Trait Implementations§
impl Freeze for FdwRoutineClause
impl RefUnwindSafe for FdwRoutineClause
impl Send for FdwRoutineClause
impl Sync for FdwRoutineClause
impl Unpin for FdwRoutineClause
impl UnsafeUnpin for FdwRoutineClause
impl UnwindSafe for FdwRoutineClause
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