#[non_exhaustive]pub struct AppSyncLambdaAuthorizerResponse<T1 = Value>where
T1: DeserializeOwned + Serialize,{
pub is_authorized: bool,
pub resolver_context: HashMap<String, T1>,
pub denied_fields: Option<Vec<String>>,
pub ttl_override: Option<i64>,
pub other: Map<String, Value>,
}Available on crate feature
appsync only.Expand description
AppSyncLambdaAuthorizerResponse represents the expected format of an authorization response to AppSync.
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.resolver_context: HashMap<String, T1>§denied_fields: Option<Vec<String>>§ttl_override: Option<i64>§other: Map<String, Value>Available on crate feature
catch-all-fields only.Catchall to catch any additional fields that were present but not explicitly defined by this struct.
Enabled with Cargo feature catch-all-fields.
If catch-all-fields is disabled, any additional fields that are present will be ignored.
Trait Implementations§
Source§impl<T1> Clone for AppSyncLambdaAuthorizerResponse<T1>
impl<T1> Clone for AppSyncLambdaAuthorizerResponse<T1>
Source§fn clone(&self) -> AppSyncLambdaAuthorizerResponse<T1>
fn clone(&self) -> AppSyncLambdaAuthorizerResponse<T1>
Returns a duplicate 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<T1> Debug for AppSyncLambdaAuthorizerResponse<T1>
impl<T1> Debug for AppSyncLambdaAuthorizerResponse<T1>
Source§impl<T1> Default for AppSyncLambdaAuthorizerResponse<T1>
impl<T1> Default for AppSyncLambdaAuthorizerResponse<T1>
Source§fn default() -> AppSyncLambdaAuthorizerResponse<T1>
fn default() -> AppSyncLambdaAuthorizerResponse<T1>
Returns the “default value” for a type. Read more
Source§impl<'de, T1> Deserialize<'de> for AppSyncLambdaAuthorizerResponse<T1>
impl<'de, T1> Deserialize<'de> for AppSyncLambdaAuthorizerResponse<T1>
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<T1> PartialEq for AppSyncLambdaAuthorizerResponse<T1>
impl<T1> PartialEq for AppSyncLambdaAuthorizerResponse<T1>
Source§fn eq(&self, other: &AppSyncLambdaAuthorizerResponse<T1>) -> bool
fn eq(&self, other: &AppSyncLambdaAuthorizerResponse<T1>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<T1> Serialize for AppSyncLambdaAuthorizerResponse<T1>where
T1: DeserializeOwned + Serialize,
impl<T1> Serialize for AppSyncLambdaAuthorizerResponse<T1>where
T1: DeserializeOwned + Serialize,
impl<T1> Eq for AppSyncLambdaAuthorizerResponse<T1>
impl<T1> StructuralPartialEq for AppSyncLambdaAuthorizerResponse<T1>where
T1: DeserializeOwned + Serialize,
Auto Trait Implementations§
impl<T1> Freeze for AppSyncLambdaAuthorizerResponse<T1>
impl<T1> RefUnwindSafe for AppSyncLambdaAuthorizerResponse<T1>where
T1: RefUnwindSafe,
impl<T1> Send for AppSyncLambdaAuthorizerResponse<T1>where
T1: Send,
impl<T1> Sync for AppSyncLambdaAuthorizerResponse<T1>where
T1: Sync,
impl<T1> Unpin for AppSyncLambdaAuthorizerResponse<T1>where
T1: Unpin,
impl<T1> UnwindSafe for AppSyncLambdaAuthorizerResponse<T1>where
T1: UnwindSafe,
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