pub struct SnapshotLimits {
pub max_records: u32,
pub max_bytes: u64,
}Expand description
Explicit resource bounds for a consistent operator snapshot.
Fields§
§max_records: u32§max_bytes: u64Trait Implementations§
Source§impl Clone for SnapshotLimits
impl Clone for SnapshotLimits
Source§fn clone(&self) -> SnapshotLimits
fn clone(&self) -> SnapshotLimits
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 SnapshotLimits
impl Debug for SnapshotLimits
Source§impl<'de> Deserialize<'de> for SnapshotLimits
impl<'de> Deserialize<'de> for SnapshotLimits
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
Source§impl PartialEq for SnapshotLimits
impl PartialEq for SnapshotLimits
Source§fn eq(&self, other: &SnapshotLimits) -> bool
fn eq(&self, other: &SnapshotLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SnapshotLimits
impl Serialize for SnapshotLimits
impl Copy for SnapshotLimits
impl Eq for SnapshotLimits
impl StructuralPartialEq for SnapshotLimits
Auto Trait Implementations§
impl Freeze for SnapshotLimits
impl RefUnwindSafe for SnapshotLimits
impl Send for SnapshotLimits
impl Sync for SnapshotLimits
impl Unpin for SnapshotLimits
impl UnsafeUnpin for SnapshotLimits
impl UnwindSafe for SnapshotLimits
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.