pub struct ApiGatewayCustomAuthorizerResponse<T1 = Value>where
T1: DeserializeOwned + Serialize,{
pub principal_id: Option<String>,
pub policy_document: ApiGatewayCustomAuthorizerPolicy,
pub context: T1,
pub usage_identifier_key: Option<String>,
}
Expand description
ApiGatewayCustomAuthorizerResponse
represents the expected format of an API Gateway authorization response.
Fields§
§principal_id: Option<String>
§policy_document: ApiGatewayCustomAuthorizerPolicy
§context: T1
§usage_identifier_key: Option<String>
Trait Implementations§
source§impl<T1> Clone for ApiGatewayCustomAuthorizerResponse<T1>
impl<T1> Clone for ApiGatewayCustomAuthorizerResponse<T1>
source§fn clone(&self) -> ApiGatewayCustomAuthorizerResponse<T1>
fn clone(&self) -> ApiGatewayCustomAuthorizerResponse<T1>
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<T1> Debug for ApiGatewayCustomAuthorizerResponse<T1>
impl<T1> Debug for ApiGatewayCustomAuthorizerResponse<T1>
source§impl<T1> Default for ApiGatewayCustomAuthorizerResponse<T1>
impl<T1> Default for ApiGatewayCustomAuthorizerResponse<T1>
source§fn default() -> ApiGatewayCustomAuthorizerResponse<T1>
fn default() -> ApiGatewayCustomAuthorizerResponse<T1>
Returns the “default value” for a type. Read more
source§impl<'de, T1> Deserialize<'de> for ApiGatewayCustomAuthorizerResponse<T1>
impl<'de, T1> Deserialize<'de> for ApiGatewayCustomAuthorizerResponse<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 ApiGatewayCustomAuthorizerResponse<T1>
impl<T1> PartialEq for ApiGatewayCustomAuthorizerResponse<T1>
source§fn eq(&self, other: &ApiGatewayCustomAuthorizerResponse<T1>) -> bool
fn eq(&self, other: &ApiGatewayCustomAuthorizerResponse<T1>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T1> Serialize for ApiGatewayCustomAuthorizerResponse<T1>where
T1: DeserializeOwned + Serialize,
impl<T1> Serialize for ApiGatewayCustomAuthorizerResponse<T1>where
T1: DeserializeOwned + Serialize,
impl<T1> Eq for ApiGatewayCustomAuthorizerResponse<T1>
impl<T1> StructuralPartialEq for ApiGatewayCustomAuthorizerResponse<T1>where
T1: DeserializeOwned + Serialize,
Auto Trait Implementations§
impl<T1> Freeze for ApiGatewayCustomAuthorizerResponse<T1>where
T1: Freeze,
impl<T1> RefUnwindSafe for ApiGatewayCustomAuthorizerResponse<T1>where
T1: RefUnwindSafe,
impl<T1> Send for ApiGatewayCustomAuthorizerResponse<T1>where
T1: Send,
impl<T1> Sync for ApiGatewayCustomAuthorizerResponse<T1>where
T1: Sync,
impl<T1> Unpin for ApiGatewayCustomAuthorizerResponse<T1>where
T1: Unpin,
impl<T1> UnwindSafe for ApiGatewayCustomAuthorizerResponse<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