pub struct RateLimitPolicyEntry {
pub name: String,
pub quota: Option<i64>,
pub unit: Option<String>,
pub window_seconds: Option<u64>,
}Fields§
§name: String§quota: Option<i64>§unit: Option<String>§window_seconds: Option<u64>Trait Implementations§
Source§impl Clone for RateLimitPolicyEntry
impl Clone for RateLimitPolicyEntry
Source§fn clone(&self) -> RateLimitPolicyEntry
fn clone(&self) -> RateLimitPolicyEntry
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 RateLimitPolicyEntry
impl Debug for RateLimitPolicyEntry
Source§impl<'de> Deserialize<'de> for RateLimitPolicyEntry
impl<'de> Deserialize<'de> for RateLimitPolicyEntry
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 RateLimitPolicyEntry
impl RefUnwindSafe for RateLimitPolicyEntry
impl Send for RateLimitPolicyEntry
impl Sync for RateLimitPolicyEntry
impl Unpin for RateLimitPolicyEntry
impl UnsafeUnpin for RateLimitPolicyEntry
impl UnwindSafe for RateLimitPolicyEntry
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