pub struct TableFieldSchema {
pub name: String,
pub ty: String,
pub scope: ScopeSchema,
pub comment: Option<String>,
pub default: Option<String>,
pub range: Option<[i64; 2]>,
pub length: Option<[usize; 2]>,
pub parser: Option<ParserSchema>,
pub from: Option<TableFieldFromSchema>,
}Fields§
§name: String§ty: String§scope: ScopeSchema§comment: Option<String>§default: Option<String>§range: Option<[i64; 2]>§length: Option<[usize; 2]>§parser: Option<ParserSchema>§from: Option<TableFieldFromSchema>Trait Implementations§
Source§impl Clone for TableFieldSchema
impl Clone for TableFieldSchema
Source§fn clone(&self) -> TableFieldSchema
fn clone(&self) -> TableFieldSchema
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 moreSource§impl Debug for TableFieldSchema
impl Debug for TableFieldSchema
Source§impl<'de> Deserialize<'de> for TableFieldSchema
impl<'de> Deserialize<'de> for TableFieldSchema
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TableFieldSchema
impl PartialEq for TableFieldSchema
Source§fn eq(&self, other: &TableFieldSchema) -> bool
fn eq(&self, other: &TableFieldSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TableFieldSchema
impl StructuralPartialEq for TableFieldSchema
Auto Trait Implementations§
impl Freeze for TableFieldSchema
impl RefUnwindSafe for TableFieldSchema
impl Send for TableFieldSchema
impl Sync for TableFieldSchema
impl Unpin for TableFieldSchema
impl UnsafeUnpin for TableFieldSchema
impl UnwindSafe for TableFieldSchema
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