Enum vega_lite_4::DataFormatType
source · pub enum DataFormatType {
Csv,
Dsv,
Json,
Topojson,
Tsv,
}
Expand description
Type of input data: "json"
, "csv"
, "tsv"
, "dsv"
.
Default value: The default format type is determined by the extension of the file
URL. If no extension is detected, "json"
will be used by default.
Variants§
Trait Implementations§
source§impl Clone for DataFormatType
impl Clone for DataFormatType
source§fn clone(&self) -> DataFormatType
fn clone(&self) -> DataFormatType
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 DataFormatType
impl Debug for DataFormatType
source§impl<'de> Deserialize<'de> for DataFormatType
impl<'de> Deserialize<'de> for DataFormatType
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
Auto Trait Implementations§
impl RefUnwindSafe for DataFormatType
impl Send for DataFormatType
impl Sync for DataFormatType
impl Unpin for DataFormatType
impl UnwindSafe for DataFormatType
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