pub enum FunctionReturnType {
DataType(DataType),
SetOf(DataType),
}Expand description
The return type of a CREATE FUNCTION statement.
Variants§
Trait Implementations§
Source§impl Clone for FunctionReturnType
impl Clone for FunctionReturnType
Source§fn clone(&self) -> FunctionReturnType
fn clone(&self) -> FunctionReturnType
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 moreSource§impl Debug for FunctionReturnType
impl Debug for FunctionReturnType
Source§impl<'de> Deserialize<'de> for FunctionReturnType
impl<'de> Deserialize<'de> for FunctionReturnType
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 FunctionReturnType
impl Display for FunctionReturnType
Source§impl Hash for FunctionReturnType
impl Hash for FunctionReturnType
Source§impl Ord for FunctionReturnType
impl Ord for FunctionReturnType
Source§fn cmp(&self, other: &FunctionReturnType) -> Ordering
fn cmp(&self, other: &FunctionReturnType) -> 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
Source§impl PartialEq for FunctionReturnType
impl PartialEq for FunctionReturnType
Source§fn eq(&self, other: &FunctionReturnType) -> bool
fn eq(&self, other: &FunctionReturnType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FunctionReturnType
impl PartialOrd for FunctionReturnType
Source§impl Serialize for FunctionReturnType
impl Serialize for FunctionReturnType
Source§impl Visit for FunctionReturnType
impl Visit for FunctionReturnType
Source§impl VisitMut for FunctionReturnType
impl VisitMut for FunctionReturnType
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 FunctionReturnType
impl StructuralPartialEq for FunctionReturnType
Auto Trait Implementations§
impl Freeze for FunctionReturnType
impl RefUnwindSafe for FunctionReturnType
impl Send for FunctionReturnType
impl Sync for FunctionReturnType
impl Unpin for FunctionReturnType
impl UnsafeUnpin for FunctionReturnType
impl UnwindSafe for FunctionReturnType
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