pub struct TranscriptDrainOptions<'a> {
pub source_root: &'a str,
pub tolerate_partial_tail: bool,
pub transcript_identity_id: Option<i64>,
}Expand description
Options for a transcript drain beyond the hook-path defaults.
Fields§
§source_root: &'a strLabel of the scan root the transcript came from (local for the hook
path and default ingest-sessions roots).
tolerate_partial_tail: boolTreat a JSON parse failure on the final line as an actively-appended
partial tail instead of a parse error (issue #722). The caller decides
this from the file mtime; see RawIngestReport::partial_tail.
transcript_identity_id: Option<i64>Stable local transcript identity. When present, line ordinals preserve repeated identical turns while making Stop/batch replay idempotent.
Trait Implementations§
Source§impl<'a> Clone for TranscriptDrainOptions<'a>
impl<'a> Clone for TranscriptDrainOptions<'a>
Source§fn clone(&self) -> TranscriptDrainOptions<'a>
fn clone(&self) -> TranscriptDrainOptions<'a>
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<'a> Debug for TranscriptDrainOptions<'a>
impl<'a> Debug for TranscriptDrainOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for TranscriptDrainOptions<'a>
impl<'a> RefUnwindSafe for TranscriptDrainOptions<'a>
impl<'a> Send for TranscriptDrainOptions<'a>
impl<'a> Sync for TranscriptDrainOptions<'a>
impl<'a> Unpin for TranscriptDrainOptions<'a>
impl<'a> UnsafeUnpin for TranscriptDrainOptions<'a>
impl<'a> UnwindSafe for TranscriptDrainOptions<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more