pub struct OmittedCounts {
pub elements: u32,
pub memories: u32,
pub knowledge: u32,
pub adapter_facts: u32,
pub recent_events: u32,
}Expand description
Counts of items the builder filtered out to fit the budget.
Lets the planner notice that the view is compressed and decide whether to act on what it sees, request a tier-up, or pivot.
Fields§
§elements: u32§memories: u32§knowledge: u32§adapter_facts: u32§recent_events: u32Trait Implementations§
Source§impl Clone for OmittedCounts
impl Clone for OmittedCounts
Source§fn clone(&self) -> OmittedCounts
fn clone(&self) -> OmittedCounts
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 OmittedCounts
impl Debug for OmittedCounts
Source§impl Default for OmittedCounts
impl Default for OmittedCounts
Source§fn default() -> OmittedCounts
fn default() -> OmittedCounts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OmittedCounts
impl<'de> Deserialize<'de> for OmittedCounts
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 OmittedCounts
impl RefUnwindSafe for OmittedCounts
impl Send for OmittedCounts
impl Sync for OmittedCounts
impl Unpin for OmittedCounts
impl UnsafeUnpin for OmittedCounts
impl UnwindSafe for OmittedCounts
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