pub struct DatasetOption {
pub source: Vec<DataValue>,
pub source_type: Option<DatasetSourceType>,
pub dimensions: Vec<String>,
pub dimensions_defined: Option<String>,
pub encode: Option<DataValue>,
pub source_header: Option<bool>,
}Expand description
The options of a dataset.
Fields§
§source: Vec<DataValue>The source of the data.
source_type: Option<DatasetSourceType>The kind of the source.
dimensions: Vec<String>The names of the dimensions.
dimensions_defined: Option<String>The dimensions the source is encoded by.
encode: Option<DataValue>The indexes of the dimensions that are not numeric.
source_header: Option<bool>The mapping of the dimensions to their display names.
Trait Implementations§
Source§impl Clone for DatasetOption
impl Clone for DatasetOption
Source§impl Debug for DatasetOption
impl Debug for DatasetOption
Source§impl Default for DatasetOption
impl Default for DatasetOption
Source§impl PartialEq for DatasetOption
impl PartialEq for DatasetOption
impl StructuralPartialEq for DatasetOption
Auto Trait Implementations§
impl Freeze for DatasetOption
impl RefUnwindSafe for DatasetOption
impl Send for DatasetOption
impl Sync for DatasetOption
impl Unpin for DatasetOption
impl UnsafeUnpin for DatasetOption
impl UnwindSafe for DatasetOption
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