pub struct KeyUpdateParams {
pub key_id: String,
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>>,
}Fields§
§key_id: StringThe key’s id, as a listing reports it.
key_type: Option<String>client or federated. An auth key or an API access token cannot be
reconfigured. Omitted, it is not sent, and the control plane decides
whether an update without one is meaningful (Q80).
description: Option<String>Up to 50 characters of letters, digits, hyphens and spaces.
scopes: Option<Vec<String>>The complete replacement list of scopes.
The complete replacement list of tags.
issuer: Option<String>Federated identities: the issuer whose JWTs are accepted.
subject: Option<String>Federated identities: the subject a JWT must claim.
audience: Option<String>Federated identities: the audience a JWT must claim.
custom_claim_rules: Option<BTreeMap<String, String>>Federated identities: claims mapped to the values they must have.
The complete replacement set, like scopes and tags.
Trait Implementations§
Source§impl Debug for KeyUpdateParams
impl Debug for KeyUpdateParams
Source§impl<'de> Deserialize<'de> for KeyUpdateParams
impl<'de> Deserialize<'de> for KeyUpdateParams
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 JsonSchema for KeyUpdateParams
impl JsonSchema for KeyUpdateParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for KeyUpdateParams
impl RefUnwindSafe for KeyUpdateParams
impl Send for KeyUpdateParams
impl Sync for KeyUpdateParams
impl Unpin for KeyUpdateParams
impl UnsafeUnpin for KeyUpdateParams
impl UnwindSafe for KeyUpdateParams
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