[][src]Struct vega_lite_3::Data

pub struct Data {
    pub format: Option<DataFormat>,
    pub name: Option<String>,
    pub url: Option<String>,
    pub values: Option<UrlDataInlineDataset>,
    pub sequence: Option<SequenceParams>,
    pub sphere: Option<SphereUnion>,
    pub graticule: Option<Graticule>,
}

Secondary data source to lookup in.

Fields

format: Option<DataFormat>

An object that specifies the format for parsing the data.

name: Option<String>

Provide a placeholder name and bind data at runtime.

url: Option<String>

An URL from which to load the data set. Use the format.type property to ensure the loaded data is correctly parsed.

values: Option<UrlDataInlineDataset>

The full data set, included inline. This can be an array of objects or primitive values, an object, or a string. Arrays of primitive values are ingested as objects with a data property. Strings are parsed according to the specified format type.

sequence: Option<SequenceParams>

Generate a sequence of numbers.

sphere: Option<SphereUnion>

Generate sphere GeoJSON data for the full globe.

graticule: Option<Graticule>

Generate graticule GeoJSON data for geographic reference lines.

Trait Implementations

impl Clone for Data[src]

impl Debug for Data[src]

impl Default for Data[src]

impl<'de> Deserialize<'de> for Data[src]

impl Serialize for Data[src]

Auto Trait Implementations

impl RefUnwindSafe for Data

impl Send for Data

impl Sync for Data

impl Unpin for Data

impl UnwindSafe for Data

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.