pub struct SiteLimits {
pub sites: NonZeroUsize,
pub subjects: NonZeroUsize,
pub schema_bytes: NonZeroUsize,
pub text_bytes: NonZeroUsize,
pub steps: NonZeroUsize,
pub transitions: NonZeroUsize,
pub drafts: NonZeroUsize,
pub approvers: NonZeroUsize,
pub snapshot_bytes: NonZeroUsize,
pub request_bytes: NonZeroUsize,
}Expand description
Required positive operator bounds; reaching a bound refuses before mutation.
Fields§
§sites: NonZeroUsizeLimits active and retired construction records without evicting history.
subjects: NonZeroUsizeLimits subject schemas validated in one admission operation.
schema_bytes: NonZeroUsizeLimits each schema’s compilation input before allocating a validator.
text_bytes: NonZeroUsizeLimits purpose, title, note and routing metadata individually.
steps: NonZeroUsizeLimits steps retained in one complete plan replacement.
transitions: NonZeroUsizeLimits historical transitions; a full history refuses new writes.
drafts: NonZeroUsizeLimits prepared and completed drafts without evicting execution receipts.
approvers: NonZeroUsizeBounds the distinct authenticated people recorded on a draft approval.
snapshot_bytes: NonZeroUsizeLimits the whole atomic snapshot, including histories and prepared words.
request_bytes: NonZeroUsizeLimits one immutable request before parsing or holding a draft.
Trait Implementations§
Source§impl Clone for SiteLimits
impl Clone for SiteLimits
Source§impl Debug for SiteLimits
impl Debug for SiteLimits
Source§impl<'de> Deserialize<'de> for SiteLimits
impl<'de> Deserialize<'de> for SiteLimits
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
impl Eq for SiteLimits
Source§impl PartialEq for SiteLimits
impl PartialEq for SiteLimits
impl StructuralPartialEq for SiteLimits
Auto Trait Implementations§
impl Freeze for SiteLimits
impl RefUnwindSafe for SiteLimits
impl Send for SiteLimits
impl Sync for SiteLimits
impl Unpin for SiteLimits
impl UnsafeUnpin for SiteLimits
impl UnwindSafe for SiteLimits
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.