pub struct TriggerExecBody {
pub exec_type: TriggerExecBodyType,
pub func_name: ObjectName,
pub args: Option<Vec<Expr>>,
}Expand description
The EXECUTE clause of a CREATE TRIGGER statement.
Holds call-site information: the function/procedure name and optional
positional argument expressions (e.g. string literals passed to
tsvector_update_trigger). This is deliberately distinct from
FunctionDesc, which carries CREATE-FUNCTION-style parameter
declarations (argname argtype DEFAULT expr).
Fields§
§exec_type: TriggerExecBodyTypeWhether the body is a FUNCTION or PROCEDURE invocation.
func_name: ObjectNameThe name of the function or procedure to invoke.
args: Option<Vec<Expr>>Call-site arguments (expressions). None means no parentheses were
written; Some(vec![]) means empty parentheses ().
Trait Implementations§
Source§impl Clone for TriggerExecBody
impl Clone for TriggerExecBody
Source§fn clone(&self) -> TriggerExecBody
fn clone(&self) -> TriggerExecBody
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 TriggerExecBody
impl Debug for TriggerExecBody
Source§impl<'de> Deserialize<'de> for TriggerExecBody
impl<'de> Deserialize<'de> for TriggerExecBody
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 TriggerExecBody
impl Display for TriggerExecBody
Source§impl Hash for TriggerExecBody
impl Hash for TriggerExecBody
Source§impl Ord for TriggerExecBody
impl Ord for TriggerExecBody
Source§fn cmp(&self, other: &TriggerExecBody) -> Ordering
fn cmp(&self, other: &TriggerExecBody) -> 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 TriggerExecBody
impl PartialEq for TriggerExecBody
Source§impl PartialOrd for TriggerExecBody
impl PartialOrd for TriggerExecBody
Source§impl Serialize for TriggerExecBody
impl Serialize for TriggerExecBody
Source§impl Visit for TriggerExecBody
impl Visit for TriggerExecBody
Source§impl VisitMut for TriggerExecBody
impl VisitMut for TriggerExecBody
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 TriggerExecBody
impl StructuralPartialEq for TriggerExecBody
Auto Trait Implementations§
impl Freeze for TriggerExecBody
impl RefUnwindSafe for TriggerExecBody
impl Send for TriggerExecBody
impl Sync for TriggerExecBody
impl Unpin for TriggerExecBody
impl UnsafeUnpin for TriggerExecBody
impl UnwindSafe for TriggerExecBody
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