pub struct TryCatch {
pub try_body: Vec<Expression>,
pub catch_body: Option<Vec<Expression>>,
}Expand description
T-SQL TRY/CATCH block.
Fields§
§try_body: Vec<Expression>Statements inside BEGIN TRY … END TRY.
catch_body: Option<Vec<Expression>>Statements inside BEGIN CATCH … END CATCH, when present.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TryCatch
impl<'de> Deserialize<'de> for TryCatch
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
impl StructuralPartialEq for TryCatch
Auto Trait Implementations§
impl Freeze for TryCatch
impl RefUnwindSafe for TryCatch
impl Send for TryCatch
impl Sync for TryCatch
impl Unpin for TryCatch
impl UnsafeUnpin for TryCatch
impl UnwindSafe for TryCatch
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