pub struct ExportBundleOptions {
pub scope: Option<ScopeIds>,
pub include_redacted: bool,
pub limit: Option<u32>,
pub metadata: Option<Map<String, Value>>,
pub exported_at: Timestamp,
}Expand description
Options for KindlingService::export.
Mirrors the union of TS ExportBundleOptions (scope, metadata) and the
store-level ExportOptions (includeRedacted, limit). exported_at is
injected explicitly (rather than read from a clock) so exports are
deterministic and testable — the CLI passes the timestamp it stamps into the
default output filename.
Fields§
§scope: Option<ScopeIds>Optional scope filter applied to every entity.
include_redacted: boolInclude redacted observations (TS default: false).
limit: Option<u32>Maximum observations to export.
metadata: Option<Map<String, Value>>Optional bundle metadata (serialized verbatim as a JSON object).
exported_at: TimestampExport timestamp stamped into both the bundle and the dataset.
Trait Implementations§
Source§impl Clone for ExportBundleOptions
impl Clone for ExportBundleOptions
Source§fn clone(&self) -> ExportBundleOptions
fn clone(&self) -> ExportBundleOptions
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 ExportBundleOptions
impl Debug for ExportBundleOptions
Source§impl Default for ExportBundleOptions
impl Default for ExportBundleOptions
Source§fn default() -> ExportBundleOptions
fn default() -> ExportBundleOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExportBundleOptions
impl RefUnwindSafe for ExportBundleOptions
impl Send for ExportBundleOptions
impl Sync for ExportBundleOptions
impl Unpin for ExportBundleOptions
impl UnsafeUnpin for ExportBundleOptions
impl UnwindSafe for ExportBundleOptions
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