pub struct Block<'a> {
pub begin_span: Span,
pub statements: Vec<Statement<'a>>,
pub exception_span: Option<Span>,
pub exception_handlers: Vec<ExceptionHandler<'a>>,
pub end_span: Span,
}Expand description
Block statement, for example in stored procedures
Fields§
§begin_span: SpanSpan of “BEGIN”
statements: Vec<Statement<'a>>Statements in block
exception_span: Option<Span>Span of “EXCEPTION” if present
exception_handlers: Vec<ExceptionHandler<'a>>Exception handlers: WHEN cond THEN stmts
end_span: SpanSpan of “END”
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Block<'a>
impl<'a> RefUnwindSafe for Block<'a>
impl<'a> Send for Block<'a>
impl<'a> Sync for Block<'a>
impl<'a> Unpin for Block<'a>
impl<'a> UnsafeUnpin for Block<'a>
impl<'a> UnwindSafe for Block<'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