pub struct SummaryPlan {
pub keep_from: Option<MessageId>,
pub state: SummaryState,
pub request: CompletionRequest,
}Expand description
A summary CompactionPolicy::plan_summary planned.
Fields§
§keep_from: Option<MessageId>The first message the compaction keeps; None when it summarizes
every message. By id, so a splice made while the summary is written
does not move it.
state: SummaryStateThe state the summary goes into.
request: CompletionRequestThe request for the summary.
Trait Implementations§
Source§impl Clone for SummaryPlan
impl Clone for SummaryPlan
Auto Trait Implementations§
impl Freeze for SummaryPlan
impl RefUnwindSafe for SummaryPlan
impl Send for SummaryPlan
impl Sync for SummaryPlan
impl Unpin for SummaryPlan
impl UnsafeUnpin for SummaryPlan
impl UnwindSafe for SummaryPlan
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