pub struct DeclareHandler<'a> {
pub declare_span: Span,
pub action: HandlerAction,
pub handler_span: Span,
pub for_span: Span,
pub condition: HandlerCondition<'a>,
pub statement: Box<Statement<'a>>,
}Expand description
MariaDB/MySQL DECLARE handler statement inside a stored procedure/function.
DECLARE CONTINUE|EXIT HANDLER FOR condition statement
Fields§
§declare_span: Span§action: HandlerAction§handler_span: Span§for_span: Span§condition: HandlerCondition<'a>§statement: Box<Statement<'a>>Trait Implementations§
Source§impl<'a> Clone for DeclareHandler<'a>
impl<'a> Clone for DeclareHandler<'a>
Source§fn clone(&self) -> DeclareHandler<'a>
fn clone(&self) -> DeclareHandler<'a>
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<'a> Debug for DeclareHandler<'a>
impl<'a> Debug for DeclareHandler<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeclareHandler<'a>
impl<'a> RefUnwindSafe for DeclareHandler<'a>
impl<'a> Send for DeclareHandler<'a>
impl<'a> Sync for DeclareHandler<'a>
impl<'a> Unpin for DeclareHandler<'a>
impl<'a> UnsafeUnpin for DeclareHandler<'a>
impl<'a> UnwindSafe for DeclareHandler<'a>
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