pub struct QuotaRuleInfo {
pub limit: Option<i64>,
pub name: Option<String>,
pub subjects: Option<Vec<String>>,
}Expand description
QuotaRuleInfo contains information about a quota rule
Fields§
§limit: Option<i64>The limit set by the rule
name: Option<String>Name of the rule (only shown to admins)
subjects: Option<Vec<String>>Subjects the rule affects
Trait Implementations§
Source§impl Clone for QuotaRuleInfo
impl Clone for QuotaRuleInfo
Source§fn clone(&self) -> QuotaRuleInfo
fn clone(&self) -> QuotaRuleInfo
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 QuotaRuleInfo
impl Debug for QuotaRuleInfo
Source§impl<'de> Deserialize<'de> for QuotaRuleInfo
impl<'de> Deserialize<'de> for QuotaRuleInfo
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 QuotaRuleInfo
impl PartialEq for QuotaRuleInfo
Source§impl Serialize for QuotaRuleInfo
impl Serialize for QuotaRuleInfo
impl StructuralPartialEq for QuotaRuleInfo
Auto Trait Implementations§
impl Freeze for QuotaRuleInfo
impl RefUnwindSafe for QuotaRuleInfo
impl Send for QuotaRuleInfo
impl Sync for QuotaRuleInfo
impl Unpin for QuotaRuleInfo
impl UnwindSafe for QuotaRuleInfo
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