Struct aws_lambda_events::event::iot::IoTCustomAuthorizerResponse [−][src]
pub struct IoTCustomAuthorizerResponse {
pub is_authenticated: bool,
pub principal_id: Option<String>,
pub disconnect_after_in_seconds: i32,
pub refresh_after_in_seconds: i32,
pub policy_documents: Vec<String>,
}
Expand description
IoTCustomAuthorizerResponse
represents the expected format of an IoT device gateway authorization response.
Fields
is_authenticated: bool
principal_id: Option<String>
disconnect_after_in_seconds: i32
refresh_after_in_seconds: i32
policy_documents: Vec<String>
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IoTCustomAuthorizerResponse
impl Send for IoTCustomAuthorizerResponse
impl Sync for IoTCustomAuthorizerResponse
impl Unpin for IoTCustomAuthorizerResponse
impl UnwindSafe for IoTCustomAuthorizerResponse
Blanket Implementations
Mutably borrows from an owned value. Read more