pub struct CitationCompactionInput { /* private fields */ }Implementations§
Source§impl CitationCompactionInput
impl CitationCompactionInput
pub fn manifest(&self) -> &CheckpointRefManifest
Sourcepub fn render_covered_segment(&self) -> String
pub fn render_covered_segment(&self) -> String
Markdown of the covered turns used for payload-mode compaction requests and token estimation.
pub fn covered_history_ids(&self) -> &BTreeSet<u64>
pub fn task_anchor_snapshot(&self) -> Option<&TaskAnchor>
pub fn resolved_budget(&self) -> ResolvedCitationCompactionBudget
Trait Implementations§
Source§impl Clone for CitationCompactionInput
impl Clone for CitationCompactionInput
Source§impl Debug for CitationCompactionInput
impl Debug for CitationCompactionInput
impl Eq for CitationCompactionInput
Source§impl PartialEq for CitationCompactionInput
impl PartialEq for CitationCompactionInput
impl StructuralPartialEq for CitationCompactionInput
Auto Trait Implementations§
impl Forget for CitationCompactionInput
impl Freeze for CitationCompactionInputwhere
*const u8 is !null: Freeze,
PhantomData<CitationCompactionModelTurn>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<CheckpointRef>: Freeze,
*const LeafNode<u64, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(u64, SetValZST)>>: Freeze,
PhantomData<ModelTurnId>: Freeze,
*const LeafNode<ToolCallId, SetValZST> is !null: Freeze,
PhantomData<Box<(ToolCallId, SetValZST)>>: Freeze,
impl Move for CitationCompactionInput
impl RefUnwindSafe for CitationCompactionInput
impl Send for CitationCompactionInputwhere
RawVecInner: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
&'static str: Send,
NodeRef<Owned, u64, SetValZST, LeafOrInternal>: Send,
BoxRaw<(u64, SetValZST)>: Send,
NodeRef<Owned, ToolCallId, SetValZST, LeafOrInternal>: Send,
BoxRaw<(ToolCallId, SetValZST)>: Send,
impl Sync for CitationCompactionInput
impl Unpin for CitationCompactionInputwhere
*const u8 is !null: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
&'static str: Unpin,
*const LeafNode<u64, SetValZST> is !null: Unpin,
Box<(u64, SetValZST)>: Unpin,
*const LeafNode<ToolCallId, SetValZST> is !null: Unpin,
Box<(ToolCallId, SetValZST)>: Unpin,
impl UnsafeUnpin for CitationCompactionInputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<CitationCompactionModelTurn>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<CheckpointRef>: UnsafeUnpin,
*const LeafNode<u64, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(u64, SetValZST)>>: UnsafeUnpin,
PhantomData<ModelTurnId>: UnsafeUnpin,
*const LeafNode<ToolCallId, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(ToolCallId, SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for CitationCompactionInputwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
&'static str: UnwindSafe,
BTreeMap<u64, SetValZST>: UnwindSafe,
BTreeMap<ToolCallId, SetValZST>: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.