pub struct AlterFunction {
pub kind: AlterFunctionKind,
pub function: FunctionDesc,
pub aggregate_order_by: Option<Vec<OperateFunctionArg>>,
pub aggregate_star: bool,
pub operation: AlterFunctionOperation,
}Expand description
ALTER FUNCTION / ALTER AGGREGATE statement.
Fields§
§kind: AlterFunctionKindObject type being altered.
function: FunctionDescFunction or aggregate signature.
aggregate_order_by: Option<Vec<OperateFunctionArg>>ORDER BY argument list for aggregate signatures.
This is only used for ALTER AGGREGATE.
aggregate_star: boolWhether the aggregate signature uses *.
This is only used for ALTER AGGREGATE.
operation: AlterFunctionOperationOperation applied to the object.
Trait Implementations§
Source§impl Clone for AlterFunction
impl Clone for AlterFunction
Source§fn clone(&self) -> AlterFunction
fn clone(&self) -> AlterFunction
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 AlterFunction
impl Debug for AlterFunction
Source§impl<'de> Deserialize<'de> for AlterFunction
impl<'de> Deserialize<'de> for AlterFunction
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 AlterFunction
impl Display for AlterFunction
Source§impl From<AlterFunction> for Statement
impl From<AlterFunction> for Statement
Source§fn from(a: AlterFunction) -> Self
fn from(a: AlterFunction) -> Self
Converts to this type from the input type.
Source§impl Hash for AlterFunction
impl Hash for AlterFunction
Source§impl Ord for AlterFunction
impl Ord for AlterFunction
Source§fn cmp(&self, other: &AlterFunction) -> Ordering
fn cmp(&self, other: &AlterFunction) -> 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 AlterFunction
impl PartialEq for AlterFunction
Source§impl PartialOrd for AlterFunction
impl PartialOrd for AlterFunction
Source§impl Serialize for AlterFunction
impl Serialize for AlterFunction
Source§impl Spanned for AlterFunction
impl Spanned for AlterFunction
Source§impl Visit for AlterFunction
impl Visit for AlterFunction
Source§impl VisitMut for AlterFunction
impl VisitMut for AlterFunction
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 AlterFunction
impl StructuralPartialEq for AlterFunction
Auto Trait Implementations§
impl Freeze for AlterFunction
impl RefUnwindSafe for AlterFunction
impl Send for AlterFunction
impl Sync for AlterFunction
impl Unpin for AlterFunction
impl UnsafeUnpin for AlterFunction
impl UnwindSafe for AlterFunction
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