pub struct Limits {
pub title_chars: usize,
pub summary_chars: usize,
pub body_chars: usize,
pub reason_chars: usize,
pub locator_bytes: usize,
pub max_sources: usize,
pub max_relations: usize,
pub max_actors: usize,
pub max_idempotency_key: usize,
pub max_clock_skew: Duration,
}Expand description
Size limits applied to every record. Generous for legitimate use, small enough to bound the cost of untrusted input.
Fields§
§title_chars: usize§summary_chars: usize§body_chars: usize§reason_chars: usize§locator_bytes: usize§max_sources: usize§max_relations: usize§max_actors: usize§max_idempotency_key: usize§max_clock_skew: DurationHow far in the future an occurred_at may be (clock skew allowance).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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