Struct sqlparser::ast::CreateFunctionArg
source · pub struct CreateFunctionArg {
pub mode: Option<ArgMode>,
pub name: Option<Ident>,
pub data_type: DataType,
pub default_expr: Option<Expr>,
}
Expand description
Function argument in CREATE FUNCTION.
Fields§
§mode: Option<ArgMode>
§name: Option<Ident>
§data_type: DataType
§default_expr: Option<Expr>
Implementations§
Trait Implementations§
source§impl Clone for CreateFunctionArg
impl Clone for CreateFunctionArg
source§fn clone(&self) -> CreateFunctionArg
fn clone(&self) -> CreateFunctionArg
Returns a copy 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 CreateFunctionArg
impl Debug for CreateFunctionArg
source§impl Display for CreateFunctionArg
impl Display for CreateFunctionArg
source§impl Hash for CreateFunctionArg
impl Hash for CreateFunctionArg
source§impl Ord for CreateFunctionArg
impl Ord for CreateFunctionArg
source§fn cmp(&self, other: &CreateFunctionArg) -> Ordering
fn cmp(&self, other: &CreateFunctionArg) -> 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<CreateFunctionArg> for CreateFunctionArg
impl PartialEq<CreateFunctionArg> for CreateFunctionArg
source§fn eq(&self, other: &CreateFunctionArg) -> bool
fn eq(&self, other: &CreateFunctionArg) -> bool
source§impl PartialOrd<CreateFunctionArg> for CreateFunctionArg
impl PartialOrd<CreateFunctionArg> for CreateFunctionArg
source§fn partial_cmp(&self, other: &CreateFunctionArg) -> Option<Ordering>
fn partial_cmp(&self, other: &CreateFunctionArg) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more