pub struct EpisodeLimits {
pub max_records: u64,
pub max_points: u64,
pub max_bytes: u64,
}Expand description
Hard limits applied while collecting an episode.
The byte limit accounts for the allocated scalar capacity of every record, which is deliberately conservative for external or untrusted inputs.
Fields§
§max_records: u64Maximum number of stamped records.
max_points: u64Maximum total point count across all records.
max_bytes: u64Maximum allocated column-storage bytes across all records.
Implementations§
Source§impl EpisodeLimits
impl EpisodeLimits
Trait Implementations§
Source§impl Clone for EpisodeLimits
impl Clone for EpisodeLimits
Source§fn clone(&self) -> EpisodeLimits
fn clone(&self) -> EpisodeLimits
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 EpisodeLimits
impl Debug for EpisodeLimits
Source§impl Default for EpisodeLimits
impl Default for EpisodeLimits
Source§impl PartialEq for EpisodeLimits
impl PartialEq for EpisodeLimits
Source§fn eq(&self, other: &EpisodeLimits) -> bool
fn eq(&self, other: &EpisodeLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EpisodeLimits
impl Eq for EpisodeLimits
impl StructuralPartialEq for EpisodeLimits
Auto Trait Implementations§
impl Freeze for EpisodeLimits
impl RefUnwindSafe for EpisodeLimits
impl Send for EpisodeLimits
impl Sync for EpisodeLimits
impl Unpin for EpisodeLimits
impl UnsafeUnpin for EpisodeLimits
impl UnwindSafe for EpisodeLimits
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