pub struct ContextProjection {
pub items: Vec<ProjectionItem>,
pub stale_boxes: Vec<BoxId>,
pub footer: String,
pub estimated_tokens: u64,
pub raw_estimated_tokens: u64,
}Fields§
§items: Vec<ProjectionItem>§stale_boxes: Vec<BoxId>§estimated_tokens: u64§raw_estimated_tokens: u64Trait Implementations§
Source§impl Clone for ContextProjection
impl Clone for ContextProjection
Source§fn clone(&self) -> ContextProjection
fn clone(&self) -> ContextProjection
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 ContextProjection
impl Debug for ContextProjection
Source§impl<'de> Deserialize<'de> for ContextProjection
impl<'de> Deserialize<'de> for ContextProjection
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 ContextProjection
Source§impl PartialEq for ContextProjection
impl PartialEq for ContextProjection
Source§impl Serialize for ContextProjection
impl Serialize for ContextProjection
impl StructuralPartialEq for ContextProjection
Auto Trait Implementations§
impl Freeze for ContextProjection
impl RefUnwindSafe for ContextProjection
impl Send for ContextProjection
impl Sync for ContextProjection
impl Unpin for ContextProjection
impl UnsafeUnpin for ContextProjection
impl UnwindSafe for ContextProjection
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