pub struct FetchedChart {
pub spec: ChartSpec,
pub sources: IndexMap<String, DataTable>,
pub metadata: FetchMetadata,
}Expand description
Stage 1 output: the spec plus every named source resolved to a DataTable.
sources always has at least one entry. The key is the user-chosen name
from the YAML data: map; for unnamed flat data the canonical key is
"source". Insertion order matches the YAML — preserved via IndexMap
so transform middleware can rely on stable ordering.
Fields§
§spec: ChartSpec§sources: IndexMap<String, DataTable>§metadata: FetchMetadataTrait Implementations§
Source§impl Clone for FetchedChart
impl Clone for FetchedChart
Source§fn clone(&self) -> FetchedChart
fn clone(&self) -> FetchedChart
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for FetchedChart
impl !RefUnwindSafe for FetchedChart
impl Send for FetchedChart
impl Sync for FetchedChart
impl Unpin for FetchedChart
impl UnsafeUnpin for FetchedChart
impl !UnwindSafe for FetchedChart
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