pub struct SchemaAttribute {
pub attribute_name: Option<String>,
pub attribute_type: Option<String>,
}Expand description
An attribute of a schema, which defines a dataset field. A schema attribute is required for every field in a dataset. The Schema object contains an array of SchemaAttribute objects.
Fields§
§attribute_name: Option<String>The name of the dataset field.
attribute_type: Option<String>The data type of the field.
Trait Implementations§
Source§impl Clone for SchemaAttribute
impl Clone for SchemaAttribute
Source§fn clone(&self) -> SchemaAttribute
fn clone(&self) -> SchemaAttribute
Returns a duplicate 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 SchemaAttribute
impl Debug for SchemaAttribute
Source§impl Default for SchemaAttribute
impl Default for SchemaAttribute
Source§fn default() -> SchemaAttribute
fn default() -> SchemaAttribute
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchemaAttribute
impl<'de> Deserialize<'de> for SchemaAttribute
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 SchemaAttribute
impl PartialEq for SchemaAttribute
Source§impl Serialize for SchemaAttribute
impl Serialize for SchemaAttribute
impl StructuralPartialEq for SchemaAttribute
Auto Trait Implementations§
impl Freeze for SchemaAttribute
impl RefUnwindSafe for SchemaAttribute
impl Send for SchemaAttribute
impl Sync for SchemaAttribute
impl Unpin for SchemaAttribute
impl UnwindSafe for SchemaAttribute
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