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§impl Debug for AuthorizerMapping
impl Debug for AuthorizerMapping
Auto Trait Implementations§
impl Forget for AuthorizerMapping
impl Freeze for AuthorizerMapping
impl Move 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