pub struct CreateUsagePlanKeyRequest {
pub key_id: String,
pub key_type: String,
pub usage_plan_id: String,
}Expand description
The POST request to create a usage plan key for adding an existing API key to a usage plan.
Fields§
§key_id: String[Required] The identifier of a UsagePlanKey resource for a plan customer.
key_type: String[Required] The type of a UsagePlanKey resource for a plan customer.
usage_plan_id: String[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.
Trait Implementations§
Source§impl Clone for CreateUsagePlanKeyRequest
impl Clone for CreateUsagePlanKeyRequest
Source§fn clone(&self) -> CreateUsagePlanKeyRequest
fn clone(&self) -> CreateUsagePlanKeyRequest
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 CreateUsagePlanKeyRequest
impl Debug for CreateUsagePlanKeyRequest
Source§impl Default for CreateUsagePlanKeyRequest
impl Default for CreateUsagePlanKeyRequest
Source§fn default() -> CreateUsagePlanKeyRequest
fn default() -> CreateUsagePlanKeyRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for CreateUsagePlanKeyRequest
Auto Trait Implementations§
impl Freeze for CreateUsagePlanKeyRequest
impl RefUnwindSafe for CreateUsagePlanKeyRequest
impl Send for CreateUsagePlanKeyRequest
impl Sync for CreateUsagePlanKeyRequest
impl Unpin for CreateUsagePlanKeyRequest
impl UnwindSafe for CreateUsagePlanKeyRequest
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