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§
source§impl PartialEq<TryCast> for TryCast
impl PartialEq<TryCast> for TryCast
impl Eq for TryCast
impl StructuralEq for TryCast
impl StructuralPartialEq for TryCast
Auto Trait Implementations§
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
§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.