pub struct SummaryCut {
pub keep_from: Option<MessageId>,
pub state: SummaryState,
}Expand description
Where a compaction CompactionPolicy::cut_summary chose ends, with no
request: for a summary asked at the end of the conversation itself
(Summarizer::instruction).
Fields§
§keep_from: Option<MessageId>The first message kept, by id; None when it summarizes every
message.
state: SummaryStateThe state the summary goes into, with the tracked arguments of the newly summarized messages.
Trait Implementations§
Source§impl Clone for SummaryCut
impl Clone for SummaryCut
Auto Trait Implementations§
impl Freeze for SummaryCut
impl RefUnwindSafe for SummaryCut
impl Send for SummaryCut
impl Sync for SummaryCut
impl Unpin for SummaryCut
impl UnsafeUnpin for SummaryCut
impl UnwindSafe for SummaryCut
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