pub struct DraftLimits {
pub pages: NonZeroUsize,
pub drafts: NonZeroUsize,
pub approvers: NonZeroUsize,
pub words_bytes: NonZeroUsize,
pub metadata_bytes: NonZeroUsize,
}Expand description
Explicit resource limits for a single requested pull.
Fields§
§pages: NonZeroUsizeBounds pages traversed by one caller so a moving population cannot hold the administration lane indefinitely. No timer ends a pull.
drafts: NonZeroUsizeBounds distinct draft ids handled per pull, including replays; nothing is evicted from the durable receipt ledger when the limit is reached.
approvers: NonZeroUsizeBounds authenticated approver identities before the transition is kept; this must accommodate the grant’s required number of distinct people.
words_bytes: NonZeroUsizeBounds exact immutable words before any execution or retained-state write.
metadata_bytes: NonZeroUsizeBounds ids, grant ids, connector credentials and opaque page cursors.
Trait Implementations§
Source§impl Clone for DraftLimits
impl Clone for DraftLimits
impl Copy for DraftLimits
Source§impl Debug for DraftLimits
impl Debug for DraftLimits
Source§impl<'de> Deserialize<'de> for DraftLimits
impl<'de> Deserialize<'de> for DraftLimits
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 DraftLimits
Source§impl PartialEq for DraftLimits
impl PartialEq for DraftLimits
impl StructuralPartialEq for DraftLimits
Auto Trait Implementations§
impl Freeze for DraftLimits
impl RefUnwindSafe for DraftLimits
impl Send for DraftLimits
impl Sync for DraftLimits
impl Unpin for DraftLimits
impl UnsafeUnpin for DraftLimits
impl UnwindSafe for DraftLimits
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.