Struct vega_lite_4::UrlData
source · pub struct UrlData {
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>,
}
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§
source§impl<'de> Deserialize<'de> for UrlData
impl<'de> Deserialize<'de> for UrlData
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<A, D, S> From<ArrayBase<S, D>> for UrlDatawhere
A: Serialize,
D: Dimension,
S: Data<Elem = A>,
impl<A, D, S> From<ArrayBase<S, D>> for UrlDatawhere A: Serialize, D: Dimension, S: Data<Elem = A>,
Auto Trait Implementations§
impl RefUnwindSafe for UrlData
impl Send for UrlData
impl Sync for UrlData
impl Unpin for UrlData
impl UnwindSafe for UrlData
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