pub struct ResolvedLimits {
pub max_memories_per_day: i64,
pub max_storage_bytes: i64,
pub max_links_per_day: i64,
pub max_page_size: usize,
pub source: ConfigSource,
}Expand description
Canonical resolved operator-tunable capacity limits. Produced by
AppConfig::resolve_limits. Consumed at daemon boot to install the
quota-row auto-insert defaults (crate::quotas::set_quota_defaults)
and the HTTP list/bulk page-size cap (AppState::max_page_size).
Fields§
§max_memories_per_day: i64Per-(agent, namespace) daily memory-write ceiling.
max_storage_bytes: i64Per-(agent, namespace) lifetime storage cap in bytes.
max_links_per_day: i64Per-(agent, namespace) daily link-creation ceiling.
max_page_size: usizeMaximum items per list response / bulk-or-sync request.
source: ConfigSourceProvenance of the resolved configuration.
Trait Implementations§
Source§impl Clone for ResolvedLimits
impl Clone for ResolvedLimits
Source§fn clone(&self) -> ResolvedLimits
fn clone(&self) -> ResolvedLimits
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 ResolvedLimits
impl Debug for ResolvedLimits
impl Eq for ResolvedLimits
Source§impl PartialEq for ResolvedLimits
impl PartialEq for ResolvedLimits
Source§fn eq(&self, other: &ResolvedLimits) -> bool
fn eq(&self, other: &ResolvedLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedLimits
Auto Trait Implementations§
impl Freeze for ResolvedLimits
impl RefUnwindSafe for ResolvedLimits
impl Send for ResolvedLimits
impl Sync for ResolvedLimits
impl Unpin for ResolvedLimits
impl UnsafeUnpin for ResolvedLimits
impl UnwindSafe for ResolvedLimits
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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>
Converts
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>
Converts
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