pub struct ExportDataset {
pub version: String,
pub exported_at: Timestamp,
pub scope: Option<ScopeIds>,
pub observations: Vec<Observation>,
pub capsules: Vec<Capsule>,
pub summaries: Vec<Summary>,
pub pins: Vec<Pin>,
}Expand description
The entity dataset inside an ExportBundle. Mirrors the TS ExportDataset
shape returned by exportDatabase.
Fields§
§version: StringSchema version for forward compatibility ("1.0").
exported_at: TimestampExport timestamp (epoch ms).
scope: Option<ScopeIds>Scope filter applied, when any. Omitted from JSON when absent.
observations: Vec<Observation>Observations ordered ts ASC, id ASC.
capsules: Vec<Capsule>Capsules ordered opened_at ASC, id ASC.
summaries: Vec<Summary>Summaries ordered created_at ASC, id ASC.
pins: Vec<Pin>Pins ordered created_at ASC, id ASC.
Trait Implementations§
Source§impl Clone for ExportDataset
impl Clone for ExportDataset
Source§fn clone(&self) -> ExportDataset
fn clone(&self) -> ExportDataset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExportDataset
impl Debug for ExportDataset
Source§impl<'de> Deserialize<'de> for ExportDataset
impl<'de> Deserialize<'de> for ExportDataset
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 PartialEq for ExportDataset
impl PartialEq for ExportDataset
Source§fn eq(&self, other: &ExportDataset) -> bool
fn eq(&self, other: &ExportDataset) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExportDataset
impl Serialize for ExportDataset
impl StructuralPartialEq for ExportDataset
Auto Trait Implementations§
impl Freeze for ExportDataset
impl RefUnwindSafe for ExportDataset
impl Send for ExportDataset
impl Sync for ExportDataset
impl Unpin for ExportDataset
impl UnsafeUnpin for ExportDataset
impl UnwindSafe for ExportDataset
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