pub struct ExtractionRun {
pub task_id: String,
pub user_text: String,
pub reply: String,
pub channel_id: Option<String>,
pub visibility: ChannelVisibility,
pub user_role: UserRole,
pub run_started_at: DateTime<Utc>,
pub project: Option<(Arc<ProjectNotes>, ProjectRef)>,
}Expand description
One exchange to extract facts from.
Fields§
§task_id: StringThe host’s id for the task, for provenance.
user_text: String§reply: String§channel_id: Option<String>§visibility: ChannelVisibility§user_role: UserRole§run_started_at: DateTime<Utc>Facts the agent stored itself since then are not extracted again.
project: Option<(Arc<ProjectNotes>, ProjectRef)>The project the turn works in, with where its notes are kept: what
the user says about the project is kept there (see
crate::project). None extracts exactly as before.
Trait Implementations§
Source§impl Clone for ExtractionRun
impl Clone for ExtractionRun
Auto Trait Implementations§
impl Forget for ExtractionRun
impl Freeze for ExtractionRunwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
NonZero<i32>: Freeze,
Utc: Freeze,
*const ArcInner<ProjectNotes> is !null: Freeze,
PhantomData<ArcInner<ProjectNotes>>: Freeze,
impl Move for ExtractionRun
impl RefUnwindSafe for ExtractionRun
impl Send for ExtractionRun
impl Sync for ExtractionRun
impl Unpin for ExtractionRun
impl UnsafeUnpin for ExtractionRunwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
*const ArcInner<ProjectNotes> is !null: UnsafeUnpin,
PhantomData<ArcInner<ProjectNotes>>: UnsafeUnpin,
impl UnwindSafe for ExtractionRunwhere
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
Arc<ProjectNotes>: UnwindSafe,
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