pub struct TableTypes {
pub null: bool,
pub array: bool,
pub json: bool,
}Expand description
Which type column values a table (csv) source accepts.
Scalars (i8–u64, f32/f64, bool, str, auto and their
aliases) are always allowed; the extended types are opt-in flags.
Fields§
§null: bool§array: bool§json: boolImplementations§
Trait Implementations§
Source§impl Clone for TableTypes
impl Clone for TableTypes
Source§fn clone(&self) -> TableTypes
fn clone(&self) -> TableTypes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TableTypes
Source§impl Debug for TableTypes
impl Debug for TableTypes
Source§impl Default for TableTypes
impl Default for TableTypes
Source§fn default() -> TableTypes
fn default() -> TableTypes
Returns the “default value” for a type. Read more
impl Eq for TableTypes
Source§impl PartialEq for TableTypes
impl PartialEq for TableTypes
Source§fn eq(&self, other: &TableTypes) -> bool
fn eq(&self, other: &TableTypes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TableTypes
Auto Trait Implementations§
impl Freeze for TableTypes
impl RefUnwindSafe for TableTypes
impl Send for TableTypes
impl Sync for TableTypes
impl Unpin for TableTypes
impl UnsafeUnpin for TableTypes
impl UnwindSafe for TableTypes
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§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.