pub struct CreateQuotaGroupOptions {
pub name: Option<String>,
pub rules: Option<Vec<CreateQuotaRuleOptions>>,
}Expand description
CreateQutaGroupOptions represents the options for creating a quota group
Fields§
§name: Option<String>Name of the quota group to create
rules: Option<Vec<CreateQuotaRuleOptions>>Rules to add to the newly created group.
If a rule does not exist, it will be created.
Trait Implementations§
Source§impl Clone for CreateQuotaGroupOptions
impl Clone for CreateQuotaGroupOptions
Source§fn clone(&self) -> CreateQuotaGroupOptions
fn clone(&self) -> CreateQuotaGroupOptions
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 CreateQuotaGroupOptions
impl Debug for CreateQuotaGroupOptions
Source§impl<'de> Deserialize<'de> for CreateQuotaGroupOptions
impl<'de> Deserialize<'de> for CreateQuotaGroupOptions
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 CreateQuotaGroupOptions
impl PartialEq for CreateQuotaGroupOptions
Source§impl Serialize for CreateQuotaGroupOptions
impl Serialize for CreateQuotaGroupOptions
impl StructuralPartialEq for CreateQuotaGroupOptions
Auto Trait Implementations§
impl Freeze for CreateQuotaGroupOptions
impl RefUnwindSafe for CreateQuotaGroupOptions
impl Send for CreateQuotaGroupOptions
impl Sync for CreateQuotaGroupOptions
impl Unpin for CreateQuotaGroupOptions
impl UnwindSafe for CreateQuotaGroupOptions
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