pub struct AuthorizerMapping {
pub owner_field: String,
pub include_claims: bool,
}Expand description
Mapping configuration for Lambda authorizer context.
Fields§
§owner_field: StringAuthorizer field that maps to owner (default: “sub”)
include_claims: boolWhether to collect all authorizer fields as claims
Trait Implementations§
Source§impl Clone for AuthorizerMapping
impl Clone for AuthorizerMapping
Source§fn clone(&self) -> AuthorizerMapping
fn clone(&self) -> AuthorizerMapping
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 AuthorizerMapping
impl Debug for AuthorizerMapping
Auto Trait Implementations§
impl Freeze for AuthorizerMapping
impl RefUnwindSafe for AuthorizerMapping
impl Send for AuthorizerMapping
impl Sync for AuthorizerMapping
impl Unpin for AuthorizerMapping
impl UnsafeUnpin for AuthorizerMapping
impl UnwindSafe for AuthorizerMapping
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