pub(crate) struct EntrySize {Show 14 fields
pub label: String,
pub source: &'static str,
pub size_bytes: usize,
pub tokens: usize,
pub kind: &'static str,
pub name: String,
pub tier: Option<&'static str>,
pub bundle_id: Option<String>,
pub path: Option<String>,
pub delivered: &'static str,
pub source_size_bytes: usize,
pub source_tokens: usize,
pub startup: Option<StartupDetail>,
pub via: Option<&'static str>,
}Expand description
One item of a delivery as the notice shows it: one card row
(SPEC_CONTEXT_DELIVERY_2026_09_30 §3.1, §3.4). label and source are
what older builds read; the rest is per-item detail. Sizes are those of
what was delivered, so an item cut by the part cap reports its slice.
Fields§
§label: String§source: &'static strglobal, personal, or summary for the running summary.
size_bytes: usize§tokens: usize§kind: &'static strglobal_memory, personal_memory or running_summary.
name: String§tier: Option<&'static str>Global Memory only: system (AgentMux’s own) or workspace.
bundle_id: Option<String>§path: Option<String>Personal Memory only: the file.
delivered: &'static strfull, partial or omitted (§3.4 step 3).
source_size_bytes: usizeThe whole entry’s size, whatever was delivered: what the Personal Memory size band measures, so a cut delivery still warns.
source_tokens: usize§startup: Option<StartupDetail>A file the CLI read by itself at startup (kind: "startup_file").
via: Option<&'static str>startup_file: a Global Memory entry the agent got through its
startup file rather than the hook (LC3), so it carries no size of its
own (the file’s row counts it).
Trait Implementations§
impl Eq for EntrySize
impl StructuralPartialEq for EntrySize
Auto Trait Implementations§
impl Freeze for EntrySize
impl RefUnwindSafe for EntrySize
impl Send for EntrySize
impl Sync for EntrySize
impl Unpin for EntrySize
impl UnsafeUnpin for EntrySize
impl UnwindSafe for EntrySize
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more