pub struct FunctionDesc {
pub name: ObjectName,
pub args: Option<Vec<OperateFunctionArg>>,
}Expand description
Generic function description for DROP FUNCTION and CREATE TRIGGER.
Fields§
§name: ObjectNameThe function name.
§args: Option<Vec<OperateFunctionArg>>Optional list of function arguments.
Trait Implementations§
Source§impl Clone for FunctionDesc
impl Clone for FunctionDesc
Source§fn clone(&self) -> FunctionDesc
fn clone(&self) -> FunctionDesc
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 more
Source§impl Debug for FunctionDesc
impl Debug for FunctionDesc
Source§impl<'de> Deserialize<'de> for FunctionDesc
impl<'de> Deserialize<'de> for FunctionDesc
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>,
where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for FunctionDesc
impl Display for FunctionDesc
Source§impl Hash for FunctionDesc
impl Hash for FunctionDesc
Source§impl Ord for FunctionDesc
impl Ord for FunctionDesc
Source§fn cmp(&self, other: &FunctionDesc) -> Ordering
fn cmp(&self, other: &FunctionDesc) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
where Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FunctionDesc
impl PartialEq for FunctionDesc
Source§impl PartialOrd for FunctionDesc
impl PartialOrd for FunctionDesc
Source§fn partial_cmp(&self, other: &FunctionDesc) -> Option<Ordering>
fn partial_cmp(&self, other: &FunctionDesc) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§fn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
Tests less than or equal to (for self and other) and is used by the
<= operator. Read more
Source§impl Serialize for FunctionDesc
impl Serialize for FunctionDesc
Source§impl Visit for FunctionDesc
impl Visit for FunctionDesc
Source§impl VisitMut for FunctionDesc
impl VisitMut for FunctionDesc
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 more
impl Eq for FunctionDesc
impl StructuralPartialEq for FunctionDesc
Auto Trait Implementations§
impl Freeze for FunctionDesc
impl RefUnwindSafe for FunctionDesc
impl Send for FunctionDesc
impl Sync for FunctionDesc
impl Unpin for FunctionDesc
impl UnwindSafe for FunctionDesc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
where 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
where T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
where T: for<'de> Deserialize<'de>,