pub struct CreateQuotaRuleOptions {
pub limit: Option<i64>,
pub name: Option<String>,
pub subjects: Option<Vec<CreateQuotaRuleOptionsSubjects>>,
}Expand description
CreateQuotaRuleOptions represents the options for creating a quota rule
Fields§
§limit: Option<i64>The limit set by the rule
name: Option<String>Name of the rule to create
subjects: Option<Vec<CreateQuotaRuleOptionsSubjects>>The subjects affected by the rule
Trait Implementations§
Source§impl Clone for CreateQuotaRuleOptions
impl Clone for CreateQuotaRuleOptions
Source§fn clone(&self) -> CreateQuotaRuleOptions
fn clone(&self) -> CreateQuotaRuleOptions
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 CreateQuotaRuleOptions
impl Debug for CreateQuotaRuleOptions
Source§impl<'de> Deserialize<'de> for CreateQuotaRuleOptions
impl<'de> Deserialize<'de> for CreateQuotaRuleOptions
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 CreateQuotaRuleOptions
impl PartialEq for CreateQuotaRuleOptions
Source§impl Serialize for CreateQuotaRuleOptions
impl Serialize for CreateQuotaRuleOptions
impl StructuralPartialEq for CreateQuotaRuleOptions
Auto Trait Implementations§
impl Freeze for CreateQuotaRuleOptions
impl RefUnwindSafe for CreateQuotaRuleOptions
impl Send for CreateQuotaRuleOptions
impl Sync for CreateQuotaRuleOptions
impl Unpin for CreateQuotaRuleOptions
impl UnwindSafe for CreateQuotaRuleOptions
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