pub struct ClaimsParameterMember {
pub essential: Option<bool>,
pub value: Option<String>,
pub values: Option<Vec<String>>,
pub other: Option<HashMap<String, Value>>,
}
Expand description
§ClaimsParameterMember
Customizing the claims from claims
of AuthorizationParameters
Fields§
§essential: Option<bool>
Marks as essential or not
value: Option<String>
Claim that should be mapped to the specified key
values: Option<Vec<String>>
Claims that should be mapped to the specified key
other: Option<HashMap<String, Value>>
Other fields that should be sent
Trait Implementations§
Source§impl Debug for ClaimsParameterMember
impl Debug for ClaimsParameterMember
Source§impl Default for ClaimsParameterMember
impl Default for ClaimsParameterMember
Source§fn default() -> ClaimsParameterMember
fn default() -> ClaimsParameterMember
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClaimsParameterMember
impl<'de> Deserialize<'de> for ClaimsParameterMember
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
Auto Trait Implementations§
impl Freeze for ClaimsParameterMember
impl RefUnwindSafe for ClaimsParameterMember
impl Send for ClaimsParameterMember
impl Sync for ClaimsParameterMember
impl Unpin for ClaimsParameterMember
impl UnwindSafe for ClaimsParameterMember
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