pub struct SessionExcerpt {
pub source: String,
pub modified: DateTime<Utc>,
pub text: String,
pub in_window: bool,
pub mentions_branch: bool,
}Fields§
§source: StringSession file name (shown in the Sources section).
modified: DateTime<Utc>§text: StringExtracted text (user/assistant messages), already truncated.
in_window: boolSession mtime falls within the branch commit window (±7 days).
mentions_branch: boolSession content mentions the branch name.
Trait Implementations§
Source§impl Clone for SessionExcerpt
impl Clone for SessionExcerpt
Source§fn clone(&self) -> SessionExcerpt
fn clone(&self) -> SessionExcerpt
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 SessionExcerpt
impl RefUnwindSafe for SessionExcerpt
impl Send for SessionExcerpt
impl Sync for SessionExcerpt
impl Unpin for SessionExcerpt
impl UnsafeUnpin for SessionExcerpt
impl UnwindSafe for SessionExcerpt
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