Struct google_apigee1::api::GoogleCloudApigeeV1Quota
source · pub struct GoogleCloudApigeeV1Quota {
pub interval: Option<String>,
pub limit: Option<String>,
pub time_unit: Option<String>,
}
Expand description
Quota contains the essential parameters needed that can be applied on the resources, methods, API source combination associated with this API product. While Quota is optional, setting it prevents requests from exceeding the provisioned parameters.
This type is not used in any activity, and only used as part of another schema.
Fields§
§interval: Option<String>
Required. Time interval over which the number of request messages is calculated.
limit: Option<String>
Required. Upper limit allowed for the time interval and time unit specified. Requests exceeding this limit will be rejected.
time_unit: Option<String>
Time unit defined for the interval
. Valid values include minute
, hour
, day
, or month
. If limit
and interval
are valid, the default value is hour
; otherwise, the default is null.
Trait Implementations§
source§impl Clone for GoogleCloudApigeeV1Quota
impl Clone for GoogleCloudApigeeV1Quota
source§fn clone(&self) -> GoogleCloudApigeeV1Quota
fn clone(&self) -> GoogleCloudApigeeV1Quota
Returns a copy 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 GoogleCloudApigeeV1Quota
impl Debug for GoogleCloudApigeeV1Quota
source§impl Default for GoogleCloudApigeeV1Quota
impl Default for GoogleCloudApigeeV1Quota
source§fn default() -> GoogleCloudApigeeV1Quota
fn default() -> GoogleCloudApigeeV1Quota
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudApigeeV1Quota
impl<'de> Deserialize<'de> for GoogleCloudApigeeV1Quota
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 Serialize for GoogleCloudApigeeV1Quota
impl Serialize for GoogleCloudApigeeV1Quota
impl Part for GoogleCloudApigeeV1Quota
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudApigeeV1Quota
impl Send for GoogleCloudApigeeV1Quota
impl Sync for GoogleCloudApigeeV1Quota
impl Unpin for GoogleCloudApigeeV1Quota
impl UnwindSafe for GoogleCloudApigeeV1Quota
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