pub struct IoTCoreCustomAuthorizerResponse {
pub is_authenticated: bool,
pub principal_id: Option<String>,
pub disconnect_after_in_seconds: u32,
pub refresh_after_in_seconds: u32,
pub policy_documents: Vec<Option<IamPolicyDocument>>,
}Expand description
IoTCoreCustomAuthorizerResponse represents the response from an IoT Core custom authorizer.
See https://docs.aws.amazon.com/iot/latest/developerguide/config-custom-auth.html
Fields§
§is_authenticated: bool§principal_id: Option<String>§disconnect_after_in_seconds: u32§refresh_after_in_seconds: u32§policy_documents: Vec<Option<IamPolicyDocument>>Trait Implementations§
source§impl Clone for IoTCoreCustomAuthorizerResponse
impl Clone for IoTCoreCustomAuthorizerResponse
source§fn clone(&self) -> IoTCoreCustomAuthorizerResponse
fn clone(&self) -> IoTCoreCustomAuthorizerResponse
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<'de> Deserialize<'de> for IoTCoreCustomAuthorizerResponse
impl<'de> Deserialize<'de> for IoTCoreCustomAuthorizerResponse
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 PartialEq for IoTCoreCustomAuthorizerResponse
impl PartialEq for IoTCoreCustomAuthorizerResponse
source§fn eq(&self, other: &IoTCoreCustomAuthorizerResponse) -> bool
fn eq(&self, other: &IoTCoreCustomAuthorizerResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for IoTCoreCustomAuthorizerResponse
impl StructuralPartialEq for IoTCoreCustomAuthorizerResponse
Auto Trait Implementations§
impl RefUnwindSafe for IoTCoreCustomAuthorizerResponse
impl Send for IoTCoreCustomAuthorizerResponse
impl Sync for IoTCoreCustomAuthorizerResponse
impl Unpin for IoTCoreCustomAuthorizerResponse
impl UnwindSafe for IoTCoreCustomAuthorizerResponse
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