#[non_exhaustive]pub struct MemoryStackOutput {
pub entries: Vec<StackEntry>,
pub tokens_used: Integer,
pub tokens_budget: Integer,
pub truncated: bool,
pub section_counts: HashMap<String, Integer>,
}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.entries: Vec<StackEntry>§tokens_used: Integer§tokens_budget: Integer§truncated: bool§section_counts: HashMap<String, Integer>Trait Implementations§
Source§impl Clone for MemoryStackOutput
impl Clone for MemoryStackOutput
Source§impl Debug for MemoryStackOutput
impl Debug for MemoryStackOutput
Source§impl<'de> Deserialize<'de> for MemoryStackOutput
impl<'de> Deserialize<'de> for MemoryStackOutput
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 MemoryStackOutput
impl PartialEq for MemoryStackOutput
Source§impl Serialize for MemoryStackOutput
impl Serialize for MemoryStackOutput
impl StructuralPartialEq for MemoryStackOutput
Auto Trait Implementations§
impl Forget for MemoryStackOutput
impl Freeze for MemoryStackOutput
impl Move for MemoryStackOutput
impl RefUnwindSafe for MemoryStackOutput
impl Send for MemoryStackOutput
impl Sync for MemoryStackOutput
impl Unpin for MemoryStackOutput
impl UnsafeUnpin for MemoryStackOutput
impl UnwindSafe for MemoryStackOutput
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