pub struct DrainResult {
pub session_id: String,
pub output_path: PathBuf,
}Expand description
Side-effect record returned by drain_once on success.
Fields§
§session_id: Stringsession_id of the drained row.
output_path: PathBufPath of the written sessions/<id>.jsonl.
Trait Implementations§
Source§impl Clone for DrainResult
impl Clone for DrainResult
Source§fn clone(&self) -> DrainResult
fn clone(&self) -> DrainResult
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 moreAuto Trait Implementations§
impl Freeze for DrainResult
impl RefUnwindSafe for DrainResult
impl Send for DrainResult
impl Sync for DrainResult
impl Unpin for DrainResult
impl UnsafeUnpin for DrainResult
impl UnwindSafe for DrainResult
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