#[non_exhaustive]pub struct UpdateUsageInput {
pub usage_plan_id: Option<String>,
pub key_id: Option<String>,
pub patch_operations: Option<Vec<PatchOperation>>,
}Expand description
The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a specified API key.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.usage_plan_id: Option<String>The Id of the usage plan associated with the usage data.
key_id: Option<String>The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.
patch_operations: Option<Vec<PatchOperation>>For more information about supported patch operations, see Patch Operations.
Implementations§
source§impl UpdateUsageInput
impl UpdateUsageInput
sourcepub fn usage_plan_id(&self) -> Option<&str>
pub fn usage_plan_id(&self) -> Option<&str>
The Id of the usage plan associated with the usage data.
sourcepub fn key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.
sourcepub fn patch_operations(&self) -> &[PatchOperation]
pub fn patch_operations(&self) -> &[PatchOperation]
For more information about supported patch operations, see Patch Operations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .patch_operations.is_none().
source§impl UpdateUsageInput
impl UpdateUsageInput
sourcepub fn builder() -> UpdateUsageInputBuilder
pub fn builder() -> UpdateUsageInputBuilder
Creates a new builder-style object to manufacture UpdateUsageInput.
Trait Implementations§
source§impl Clone for UpdateUsageInput
impl Clone for UpdateUsageInput
source§fn clone(&self) -> UpdateUsageInput
fn clone(&self) -> UpdateUsageInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateUsageInput
impl Debug for UpdateUsageInput
source§impl PartialEq for UpdateUsageInput
impl PartialEq for UpdateUsageInput
source§fn eq(&self, other: &UpdateUsageInput) -> bool
fn eq(&self, other: &UpdateUsageInput) -> bool
self and other values to be equal, and is used
by ==.