pub struct TryCast {
pub expr: Box<Expr>,
pub data_type: DataType,
}
Expand description
TRY_CAST an expression to a different data type e.g. TRY_CAST(foo AS VARCHAR(123))
Fields§
§expr: Box<Expr>
§data_type: DataType
Trait Implementations§
impl Eq for TryCast
impl StructuralPartialEq for TryCast
Auto Trait Implementations§
impl Freeze for TryCast
impl RefUnwindSafe for TryCast
impl Send for TryCast
impl Sync for TryCast
impl Unpin for TryCast
impl UnwindSafe for TryCast
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