pub struct ExtractionRecord {
pub source_task_id: String,
pub source_event_id: Option<i64>,
pub channel_id: Option<String>,
pub facts: Vec<Value>,
pub source_excerpt: String,
}Expand description
What an extraction stored, for the host’s audit trail.
Fields§
§source_task_id: String§source_event_id: Option<i64>The host’s event the facts came from, if it found one.
channel_id: Option<String>§facts: Vec<Value>The facts written.
source_excerpt: StringThe start of the user’s message.
Trait Implementations§
Source§impl Clone for ExtractionRecord
impl Clone for ExtractionRecord
Auto Trait Implementations§
impl Forget for ExtractionRecord
impl Freeze for ExtractionRecord
impl Move for ExtractionRecord
impl RefUnwindSafe for ExtractionRecord
impl Send for ExtractionRecord
impl Sync for ExtractionRecord
impl Unpin for ExtractionRecord
impl UnsafeUnpin for ExtractionRecordwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
impl UnwindSafe for ExtractionRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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