pub struct TableSchemaField {
pub name: String,
pub title: Option<String>,
pub description: Option<String>,
pub example: Option<String>,
pub field_type: FieldType,
pub format: Option<FieldFormat>,
pub constraints: Option<HashMap<String, Value>>,
pub rdf_type: Option<String>,
}
Fields§
§name: String
§title: Option<String>
§description: Option<String>
§example: Option<String>
§field_type: FieldType
§format: Option<FieldFormat>
§constraints: Option<HashMap<String, Value>>
§rdf_type: Option<String>
Trait Implementations§
Source§impl Clone for TableSchemaField
impl Clone for TableSchemaField
Source§fn clone(&self) -> TableSchemaField
fn clone(&self) -> TableSchemaField
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 TableSchemaField
impl Debug for TableSchemaField
Source§impl Default for TableSchemaField
impl Default for TableSchemaField
Source§fn default() -> TableSchemaField
fn default() -> TableSchemaField
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TableSchemaField
impl<'de> Deserialize<'de> for TableSchemaField
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 TableSchemaField
impl PartialEq for TableSchemaField
Source§impl Serialize for TableSchemaField
impl Serialize for TableSchemaField
impl Eq for TableSchemaField
impl StructuralPartialEq for TableSchemaField
Auto Trait Implementations§
impl Freeze for TableSchemaField
impl RefUnwindSafe for TableSchemaField
impl Send for TableSchemaField
impl Sync for TableSchemaField
impl Unpin for TableSchemaField
impl UnwindSafe for TableSchemaField
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)