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.
Deprecated: Use IoTCoreCustomAuthorizerResponse. IoTCustomAuthorizerResponse does not correctly model the response schema.
Fields§
§is_authenticated: bool§principal_id: Option<String>§disconnect_after_in_seconds: i32§refresh_after_in_seconds: i32§policy_documents: Vec<String>Trait Implementations§
Source§impl Clone for IoTCustomAuthorizerResponse
impl Clone for IoTCustomAuthorizerResponse
Source§fn clone(&self) -> IoTCustomAuthorizerResponse
fn clone(&self) -> IoTCustomAuthorizerResponse
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 Debug for IoTCustomAuthorizerResponse
impl Debug for IoTCustomAuthorizerResponse
Source§impl<'de> Deserialize<'de> for IoTCustomAuthorizerResponse
impl<'de> Deserialize<'de> for IoTCustomAuthorizerResponse
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
impl Eq for IoTCustomAuthorizerResponse
impl StructuralPartialEq for IoTCustomAuthorizerResponse
Auto Trait Implementations§
impl Freeze for IoTCustomAuthorizerResponse
impl RefUnwindSafe for IoTCustomAuthorizerResponse
impl Send for IoTCustomAuthorizerResponse
impl Sync for IoTCustomAuthorizerResponse
impl Unpin for IoTCustomAuthorizerResponse
impl UnwindSafe for IoTCustomAuthorizerResponse
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