Struct datafusion_expr::expr::Cast
source · pub struct Cast {
pub expr: Box<Expr>,
pub data_type: DataType,
}
Expand description
Cast expression
Fields§
§expr: Box<Expr>
The expression being cast
data_type: DataType
The DataType
the expression will yield
Implementations§
Trait Implementations§
impl Eq for Cast
impl StructuralPartialEq for Cast
Auto Trait Implementations§
impl Freeze for Cast
impl !RefUnwindSafe for Cast
impl Send for Cast
impl Sync for Cast
impl Unpin for Cast
impl !UnwindSafe for Cast
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.