#[non_exhaustive]pub struct ContextPackOutput {Show 15 fields
pub rendered: String,
pub sections: HashMap<String, String>,
pub blocks: Vec<ContextBlock>,
pub section_meta: HashMap<String, HashMap<String, Value>>,
pub section_count: Integer,
pub truncated: bool,
pub token_budget: Integer,
pub mode: String,
pub tokens_estimate: Integer,
pub fill_ratio: f64,
pub stable_sections: Vec<String>,
pub stable_prefix_chars: Integer,
pub stable_hash: String,
pub procedure_keys: Vec<String>,
pub procedure_keys_withheld: Vec<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.rendered: String§sections: HashMap<String, String>§blocks: Vec<ContextBlock>§section_meta: HashMap<String, HashMap<String, Value>>§section_count: Integer§truncated: bool§token_budget: Integer§mode: String§tokens_estimate: Integer§fill_ratio: f64§stable_sections: Vec<String>§stable_prefix_chars: Integer§stable_hash: String§procedure_keys: Vec<String>§procedure_keys_withheld: Vec<String>Trait Implementations§
Source§impl Clone for ContextPackOutput
impl Clone for ContextPackOutput
Source§impl Debug for ContextPackOutput
impl Debug for ContextPackOutput
Source§impl<'de> Deserialize<'de> for ContextPackOutput
impl<'de> Deserialize<'de> for ContextPackOutput
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
Source§impl PartialEq for ContextPackOutput
impl PartialEq for ContextPackOutput
Source§impl Serialize for ContextPackOutput
impl Serialize for ContextPackOutput
impl StructuralPartialEq for ContextPackOutput
Auto Trait Implementations§
impl Forget for ContextPackOutput
impl Freeze for ContextPackOutput
impl Move for ContextPackOutput
impl RefUnwindSafe for ContextPackOutput
impl Send for ContextPackOutput
impl Sync for ContextPackOutput
impl Unpin for ContextPackOutput
impl UnsafeUnpin for ContextPackOutput
impl UnwindSafe for ContextPackOutput
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