Enum vegafusion_sql::dialect::TryCastMode
source · pub enum TryCastMode {
Supported,
JustUseCast,
SafeCast,
SupportedOnStringsOtherwiseJustCast,
}Variants§
Supported
TRY_CAST is supported
JustUseCast
Regular CAST is the best we can do
SafeCast
Use SAFE_CAST
SupportedOnStringsOtherwiseJustCast
TRY_CAST is supported when the first argument is a string type Otherwise fall back to regular CAST
Trait Implementations§
source§impl Clone for TryCastMode
impl Clone for TryCastMode
source§fn clone(&self) -> TryCastMode
fn clone(&self) -> TryCastMode
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for TryCastMode
impl Send for TryCastMode
impl Sync for TryCastMode
impl Unpin for TryCastMode
impl UnwindSafe for TryCastMode
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