pub struct DataViewSpec {Show 13 fields
pub id: String,
pub title: String,
pub name: Option<String>,
pub time_field_name: Option<String>,
pub allow_no_index: bool,
pub allow_hidden: bool,
pub source_filters: Vec<Value>,
pub field_formats: Map<String, Value>,
pub runtime_field_map: Map<String, Value>,
pub field_attrs: Map<String, Value>,
pub fields: Map<String, Value>,
pub view_type: Option<String>,
pub type_meta: Option<Map<String, Value>>,
}Expand description
The portable, author-controlled data-view representation.
Fields§
§id: String§title: String§name: Option<String>§time_field_name: Option<String>§allow_no_index: bool§source_filters: Vec<Value>§field_formats: Map<String, Value>§runtime_field_map: Map<String, Value>§field_attrs: Map<String, Value>§fields: Map<String, Value>§view_type: Option<String>§type_meta: Option<Map<String, Value>>Implementations§
Trait Implementations§
Source§impl Clone for DataViewSpec
impl Clone for DataViewSpec
Source§fn clone(&self) -> DataViewSpec
fn clone(&self) -> DataViewSpec
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 DataViewSpec
impl Debug for DataViewSpec
Source§impl<'de> Deserialize<'de> for DataViewSpec
impl<'de> Deserialize<'de> for DataViewSpec
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 DataViewSpec
impl PartialEq for DataViewSpec
Source§impl Serialize for DataViewSpec
impl Serialize for DataViewSpec
impl StructuralPartialEq for DataViewSpec
Auto Trait Implementations§
impl Freeze for DataViewSpec
impl RefUnwindSafe for DataViewSpec
impl Send for DataViewSpec
impl Sync for DataViewSpec
impl Unpin for DataViewSpec
impl UnsafeUnpin for DataViewSpec
impl UnwindSafe for DataViewSpec
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