pub struct Export { /* private fields */ }Expand description
Streams the decision log.
Implementations§
Source§impl Export
impl Export
Sourcepub fn decisions(
&self,
params: ExportDecisionsParams,
req: Option<RequestOptions>,
) -> impl Stream<Item = Result<ExportedDecisionRow>> + Send + 'static
pub fn decisions( &self, params: ExportDecisionsParams, req: Option<RequestOptions>, ) -> impl Stream<Item = Result<ExportedDecisionRow>> + Send + 'static
Stream decision rows from the JSONL export. The terminal trailer
record is skipped — use Export::decisions_with_trailer to
capture it. The request is issued on first poll.
Sourcepub fn decisions_with_trailer(
&self,
params: ExportDecisionsParams,
req: Option<RequestOptions>,
) -> DecisionExportStream
pub fn decisions_with_trailer( &self, params: ExportDecisionsParams, req: Option<RequestOptions>, ) -> DecisionExportStream
Stream decision rows and capture the trailer. Drive the returned
DecisionExportStream to completion, then call
DecisionExportStream::trailer for the summary.
Auto Trait Implementations§
impl Freeze for Export
impl !RefUnwindSafe for Export
impl Send for Export
impl Sync for Export
impl Unpin for Export
impl UnsafeUnpin for Export
impl !UnwindSafe for Export
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