Struct arrow_cast::cast::CastOptions
source · pub struct CastOptions {
pub safe: bool,
}
Expand description
CastOptions provides a way to override the default cast behaviors
Fields§
§safe: bool
how to handle cast failures, either return NULL (safe=true) or return ERR (safe=false)
Trait Implementations§
source§impl Clone for CastOptions
impl Clone for CastOptions
source§fn clone(&self) -> CastOptions
fn clone(&self) -> CastOptions
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 moresource§impl Debug for CastOptions
impl Debug for CastOptions
source§impl PartialEq<CastOptions> for CastOptions
impl PartialEq<CastOptions> for CastOptions
source§fn eq(&self, other: &CastOptions) -> bool
fn eq(&self, other: &CastOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CastOptions
impl StructuralEq for CastOptions
impl StructuralPartialEq for CastOptions
Auto Trait Implementations§
impl RefUnwindSafe for CastOptions
impl Send for CastOptions
impl Sync for CastOptions
impl Unpin for CastOptions
impl UnwindSafe for CastOptions
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