Struct ory_hydra_client::models::trusted_o_auth2_jwt_grant_json_web_key::TrustedOAuth2JwtGrantJsonWebKey
source · pub struct TrustedOAuth2JwtGrantJsonWebKey {
pub kid: Option<String>,
pub set: Option<String>,
}
Expand description
TrustedOAuth2JwtGrantJsonWebKey : OAuth2 JWT Bearer Grant Type Issuer Trusted JSON Web Key
Fields§
§kid: Option<String>
The "key_id" is key unique identifier (same as kid header in jws/jwt).
set: Option<String>
The "set" is basically a name for a group(set) of keys. Will be the same as "issuer" in grant.
Implementations§
source§impl TrustedOAuth2JwtGrantJsonWebKey
impl TrustedOAuth2JwtGrantJsonWebKey
sourcepub fn new() -> TrustedOAuth2JwtGrantJsonWebKey
pub fn new() -> TrustedOAuth2JwtGrantJsonWebKey
OAuth2 JWT Bearer Grant Type Issuer Trusted JSON Web Key
Trait Implementations§
source§impl Clone for TrustedOAuth2JwtGrantJsonWebKey
impl Clone for TrustedOAuth2JwtGrantJsonWebKey
source§fn clone(&self) -> TrustedOAuth2JwtGrantJsonWebKey
fn clone(&self) -> TrustedOAuth2JwtGrantJsonWebKey
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<'de> Deserialize<'de> for TrustedOAuth2JwtGrantJsonWebKey
impl<'de> Deserialize<'de> for TrustedOAuth2JwtGrantJsonWebKey
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 TrustedOAuth2JwtGrantJsonWebKey
impl PartialEq for TrustedOAuth2JwtGrantJsonWebKey
source§fn eq(&self, other: &TrustedOAuth2JwtGrantJsonWebKey) -> bool
fn eq(&self, other: &TrustedOAuth2JwtGrantJsonWebKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TrustedOAuth2JwtGrantJsonWebKey
Auto Trait Implementations§
impl RefUnwindSafe for TrustedOAuth2JwtGrantJsonWebKey
impl Send for TrustedOAuth2JwtGrantJsonWebKey
impl Sync for TrustedOAuth2JwtGrantJsonWebKey
impl Unpin for TrustedOAuth2JwtGrantJsonWebKey
impl UnwindSafe for TrustedOAuth2JwtGrantJsonWebKey
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