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>>,
pub other: Map<String, Value>,
}Available on crate feature
iot only.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>>§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 Clone for IoTCoreCustomAuthorizerResponse
impl Clone for IoTCoreCustomAuthorizerResponse
Source§fn clone(&self) -> IoTCoreCustomAuthorizerResponse
fn clone(&self) -> IoTCoreCustomAuthorizerResponse
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<'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
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 Freeze for IoTCoreCustomAuthorizerResponse
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