pub struct PostageBatchBuckets {
pub depth: u8,
pub bucket_depth: u8,
pub bucket_upper_bound: u32,
pub buckets: Vec<BatchBucket>,
}Expand description
Aggregated bucket fill stats for one batch.
Fields§
§depth: u8Batch depth.
bucket_depth: u8Bucket depth.
bucket_upper_bound: u32Per-bucket cap.
buckets: Vec<BatchBucket>Per-bucket collision counts.
Trait Implementations§
Source§impl Clone for PostageBatchBuckets
impl Clone for PostageBatchBuckets
Source§fn clone(&self) -> PostageBatchBuckets
fn clone(&self) -> PostageBatchBuckets
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 PostageBatchBuckets
impl Debug for PostageBatchBuckets
Source§impl<'de> Deserialize<'de> for PostageBatchBuckets
impl<'de> Deserialize<'de> for PostageBatchBuckets
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 PostageBatchBuckets
impl PartialEq for PostageBatchBuckets
Source§fn eq(&self, other: &PostageBatchBuckets) -> bool
fn eq(&self, other: &PostageBatchBuckets) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PostageBatchBuckets
impl StructuralPartialEq for PostageBatchBuckets
Auto Trait Implementations§
impl Freeze for PostageBatchBuckets
impl RefUnwindSafe for PostageBatchBuckets
impl Send for PostageBatchBuckets
impl Sync for PostageBatchBuckets
impl Unpin for PostageBatchBuckets
impl UnsafeUnpin for PostageBatchBuckets
impl UnwindSafe for PostageBatchBuckets
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