#[non_exhaustive]pub struct GetJSONWebKeysRequest {
pub parent: String,
}Expand description
GetJSONWebKeysRequest gets the public component of the keys used by the cluster to sign token requests. This will be the jwks_uri for the discover document returned by getOpenIDConfig. See the OpenID Connect Discovery 1.0 specification for details.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringThe cluster (project, location, cluster name) to get keys for. Specified in
the format projects/*/locations/*/clusters/*.
Implementations§
Source§impl GetJSONWebKeysRequest
impl GetJSONWebKeysRequest
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Trait Implementations§
Source§impl Clone for GetJSONWebKeysRequest
impl Clone for GetJSONWebKeysRequest
Source§fn clone(&self) -> GetJSONWebKeysRequest
fn clone(&self) -> GetJSONWebKeysRequest
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 GetJSONWebKeysRequest
impl Debug for GetJSONWebKeysRequest
Source§impl Default for GetJSONWebKeysRequest
impl Default for GetJSONWebKeysRequest
Source§fn default() -> GetJSONWebKeysRequest
fn default() -> GetJSONWebKeysRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetJSONWebKeysRequestwhere
GetJSONWebKeysRequest: Default,
impl<'de> Deserialize<'de> for GetJSONWebKeysRequestwhere
GetJSONWebKeysRequest: Default,
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 Message for GetJSONWebKeysRequest
impl Message for GetJSONWebKeysRequest
Source§impl PartialEq for GetJSONWebKeysRequest
impl PartialEq for GetJSONWebKeysRequest
Source§impl Serialize for GetJSONWebKeysRequest
impl Serialize for GetJSONWebKeysRequest
impl StructuralPartialEq for GetJSONWebKeysRequest
Auto Trait Implementations§
impl Freeze for GetJSONWebKeysRequest
impl RefUnwindSafe for GetJSONWebKeysRequest
impl Send for GetJSONWebKeysRequest
impl Sync for GetJSONWebKeysRequest
impl Unpin for GetJSONWebKeysRequest
impl UnwindSafe for GetJSONWebKeysRequest
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