Struct datafusion_expr::expr::TryCast
source · pub struct TryCast {
pub expr: Box<Expr>,
pub data_type: DataType,
}
Expand description
TryCast Expression
Fields§
§expr: Box<Expr>
The expression being cast
data_type: DataType
The DataType
the expression will yield
Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.