pub struct ContextAllocationPlanV1 {Show 13 fields
pub schema: String,
pub plan_id: String,
pub session_id: String,
pub created_utc: DateTime<Utc>,
pub context_budget_tokens: usize,
pub target_output_tokens: usize,
pub allocator: String,
pub items: Vec<ContextItemV1>,
pub kept_item_ids: Vec<String>,
pub summarized_item_ids: Vec<String>,
pub archived_item_ids: Vec<String>,
pub omitted_item_ids: Vec<String>,
pub quarantined_item_ids: Vec<String>,
}Fields§
§schema: String§plan_id: String§session_id: String§created_utc: DateTime<Utc>§context_budget_tokens: usize§target_output_tokens: usize§allocator: String§items: Vec<ContextItemV1>§kept_item_ids: Vec<String>§summarized_item_ids: Vec<String>§archived_item_ids: Vec<String>§omitted_item_ids: Vec<String>§quarantined_item_ids: Vec<String>Trait Implementations§
Source§impl Clone for ContextAllocationPlanV1
impl Clone for ContextAllocationPlanV1
Source§fn clone(&self) -> ContextAllocationPlanV1
fn clone(&self) -> ContextAllocationPlanV1
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 moreSource§impl Debug for ContextAllocationPlanV1
impl Debug for ContextAllocationPlanV1
Source§impl<'de> Deserialize<'de> for ContextAllocationPlanV1
impl<'de> Deserialize<'de> for ContextAllocationPlanV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContextAllocationPlanV1
Source§impl PartialEq for ContextAllocationPlanV1
impl PartialEq for ContextAllocationPlanV1
Source§fn eq(&self, other: &ContextAllocationPlanV1) -> bool
fn eq(&self, other: &ContextAllocationPlanV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContextAllocationPlanV1
impl Serialize for ContextAllocationPlanV1
impl StructuralPartialEq for ContextAllocationPlanV1
Auto Trait Implementations§
impl Freeze for ContextAllocationPlanV1
impl RefUnwindSafe for ContextAllocationPlanV1
impl Send for ContextAllocationPlanV1
impl Sync for ContextAllocationPlanV1
impl Unpin for ContextAllocationPlanV1
impl UnsafeUnpin for ContextAllocationPlanV1
impl UnwindSafe for ContextAllocationPlanV1
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