pub struct UpdateKeyRequest {
pub key_type: Option<String>,
pub description: Option<String>,
pub scopes: Option<Vec<String>>,
pub tags: Option<Vec<String>>,
pub issuer: Option<String>,
pub subject: Option<String>,
pub audience: Option<String>,
pub custom_claim_rules: Option<BTreeMap<String, String>>,
pub unknown: Unknown,
}Expand description
What reconfiguring an OAuth client or a federated identity sends.
The same fields as a create minus the three an existing key cannot change: its capabilities, its expiry, and being an auth key at all.
Fields§
§key_type: Option<String>One of UPDATE_KEY_TYPES: an auth key or an API token cannot be
reconfigured here.
description: Option<String>§scopes: Option<Vec<String>>§issuer: Option<String>§subject: Option<String>§audience: Option<String>§custom_claim_rules: Option<BTreeMap<String, String>>§unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateKeyRequest
impl Clone for UpdateKeyRequest
Source§fn clone(&self) -> UpdateKeyRequest
fn clone(&self) -> UpdateKeyRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateKeyRequest
impl Debug for UpdateKeyRequest
Source§impl<'de> Deserialize<'de> for UpdateKeyRequest
impl<'de> Deserialize<'de> for UpdateKeyRequest
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 PartialEq for UpdateKeyRequest
impl PartialEq for UpdateKeyRequest
Source§impl Serialize for UpdateKeyRequest
impl Serialize for UpdateKeyRequest
impl StructuralPartialEq for UpdateKeyRequest
Auto Trait Implementations§
impl Freeze for UpdateKeyRequest
impl RefUnwindSafe for UpdateKeyRequest
impl Send for UpdateKeyRequest
impl Sync for UpdateKeyRequest
impl Unpin for UpdateKeyRequest
impl UnsafeUnpin for UpdateKeyRequest
impl UnwindSafe for UpdateKeyRequest
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