pub struct CreateQuotaPolicyArgs {
pub quota_policy_id: QuotaPolicyId,
pub window_seconds: u64,
pub max_requests_per_window: u64,
pub max_concurrent: u64,
pub now: TimestampMs,
}Fields§
§quota_policy_id: QuotaPolicyId§window_seconds: u64§max_requests_per_window: u64§max_concurrent: u64§now: TimestampMsTrait Implementations§
Source§impl Clone for CreateQuotaPolicyArgs
impl Clone for CreateQuotaPolicyArgs
Source§fn clone(&self) -> CreateQuotaPolicyArgs
fn clone(&self) -> CreateQuotaPolicyArgs
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 CreateQuotaPolicyArgs
impl Debug for CreateQuotaPolicyArgs
Source§impl<'de> Deserialize<'de> for CreateQuotaPolicyArgs
impl<'de> Deserialize<'de> for CreateQuotaPolicyArgs
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 CreateQuotaPolicyArgs
impl RefUnwindSafe for CreateQuotaPolicyArgs
impl Send for CreateQuotaPolicyArgs
impl Sync for CreateQuotaPolicyArgs
impl Unpin for CreateQuotaPolicyArgs
impl UnsafeUnpin for CreateQuotaPolicyArgs
impl UnwindSafe for CreateQuotaPolicyArgs
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