pub struct BatchBucket {
pub bucket_id: u32,
pub collisions: u32,
}Expand description
Per-bucket collision count from GET /stamps/{id}/buckets.
Fields§
§bucket_id: u32Bucket index.
collisions: u32Number of chunks in this bucket.
Trait Implementations§
Source§impl Clone for BatchBucket
impl Clone for BatchBucket
Source§fn clone(&self) -> BatchBucket
fn clone(&self) -> BatchBucket
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 BatchBucket
impl Debug for BatchBucket
Source§impl<'de> Deserialize<'de> for BatchBucket
impl<'de> Deserialize<'de> for BatchBucket
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 BatchBucket
impl PartialEq for BatchBucket
Source§fn eq(&self, other: &BatchBucket) -> bool
fn eq(&self, other: &BatchBucket) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BatchBucket
impl StructuralPartialEq for BatchBucket
Auto Trait Implementations§
impl Freeze for BatchBucket
impl RefUnwindSafe for BatchBucket
impl Send for BatchBucket
impl Sync for BatchBucket
impl Unpin for BatchBucket
impl UnsafeUnpin for BatchBucket
impl UnwindSafe for BatchBucket
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