pub struct NetworkQuota {
pub id: String,
pub limit: u64,
pub usage: u64,
}
Fields§
§id: String
§limit: u64
§usage: u64
Trait Implementations§
Source§impl Clone for NetworkQuota
impl Clone for NetworkQuota
Source§fn clone(&self) -> NetworkQuota
fn clone(&self) -> NetworkQuota
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 NetworkQuota
impl Debug for NetworkQuota
Source§impl<'de> Deserialize<'de> for NetworkQuota
impl<'de> Deserialize<'de> for NetworkQuota
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 NetworkQuota
impl RefUnwindSafe for NetworkQuota
impl Send for NetworkQuota
impl Sync for NetworkQuota
impl Unpin for NetworkQuota
impl UnwindSafe for NetworkQuota
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