pub struct BucketQuota {
pub bucket: String,
pub quota: Option<u64>,
pub size: u64,
pub quota_type: String,
}Expand description
Bucket quota information returned by Admin API
Fields§
§bucket: StringBucket name
quota: Option<u64>Quota limit in bytes (None means unlimited)
size: u64Current bucket usage in bytes
quota_type: StringQuota type (currently only HARD)
Trait Implementations§
Source§impl Clone for BucketQuota
impl Clone for BucketQuota
Source§fn clone(&self) -> BucketQuota
fn clone(&self) -> BucketQuota
Returns a duplicate of the value. Read more
1.0.0 · 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 BucketQuota
impl Debug for BucketQuota
Source§impl<'de> Deserialize<'de> for BucketQuota
impl<'de> Deserialize<'de> for BucketQuota
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
Auto Trait Implementations§
impl Freeze for BucketQuota
impl RefUnwindSafe for BucketQuota
impl Send for BucketQuota
impl Sync for BucketQuota
impl Unpin for BucketQuota
impl UnsafeUnpin for BucketQuota
impl UnwindSafe for BucketQuota
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