pub struct AgentContextSize {
pub agent_id: String,
pub task_count: usize,
pub execution_history_count: usize,
pub execution_history_chars: usize,
pub execution_history_estimated_tokens: usize,
pub scratchpad_chars: usize,
pub scratchpad_estimated_tokens: usize,
}Fields§
§agent_id: String§task_count: usize§execution_history_count: usize§execution_history_chars: usize§execution_history_estimated_tokens: usize§scratchpad_chars: usize§scratchpad_estimated_tokens: usizeTrait Implementations§
Source§impl Clone for AgentContextSize
impl Clone for AgentContextSize
Source§fn clone(&self) -> AgentContextSize
fn clone(&self) -> AgentContextSize
Returns a duplicate of the value. Read more
1.0.0 · 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 AgentContextSize
impl Debug for AgentContextSize
Source§impl Default for AgentContextSize
impl Default for AgentContextSize
Source§fn default() -> AgentContextSize
fn default() -> AgentContextSize
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentContextSize
impl<'de> Deserialize<'de> for AgentContextSize
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
Auto Trait Implementations§
impl Freeze for AgentContextSize
impl RefUnwindSafe for AgentContextSize
impl Send for AgentContextSize
impl Sync for AgentContextSize
impl Unpin for AgentContextSize
impl UnsafeUnpin for AgentContextSize
impl UnwindSafe for AgentContextSize
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