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