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§
source§impl PartialEq<Cast> for Cast
impl PartialEq<Cast> for Cast
impl Eq for Cast
impl StructuralEq for Cast
impl StructuralPartialEq for Cast
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.