pub struct GetUsageResponse {
pub usages: Vec<FileUsage>,
pub cap: u64,
}
Fields§
§usages: Vec<FileUsage>
§cap: u64
Implementations§
Source§impl GetUsageResponse
impl GetUsageResponse
pub fn sum_server_usage(&self) -> u64
Trait Implementations§
Source§impl Clone for GetUsageResponse
impl Clone for GetUsageResponse
Source§fn clone(&self) -> GetUsageResponse
fn clone(&self) -> GetUsageResponse
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 GetUsageResponse
impl Debug for GetUsageResponse
Source§impl<'de> Deserialize<'de> for GetUsageResponse
impl<'de> Deserialize<'de> for GetUsageResponse
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 GetUsageResponse
impl PartialEq for GetUsageResponse
Source§impl Serialize for GetUsageResponse
impl Serialize for GetUsageResponse
impl Eq for GetUsageResponse
impl StructuralPartialEq for GetUsageResponse
Auto Trait Implementations§
impl Freeze for GetUsageResponse
impl RefUnwindSafe for GetUsageResponse
impl Send for GetUsageResponse
impl Sync for GetUsageResponse
impl Unpin for GetUsageResponse
impl UnwindSafe for GetUsageResponse
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