Struct aws_sdk_iot::model::MqttContext [−][src]
#[non_exhaustive]pub struct MqttContext {
pub username: Option<String>,
pub password: Option<Blob>,
pub client_id: Option<String>,
}
Expand description
Specifies the MQTT context to use for the test authorizer request
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.username: Option<String>
The value of the username
key in an MQTT authorization request.
password: Option<Blob>
The value of the password
key in an MQTT authorization request.
client_id: Option<String>
The value of the clientId
key in an MQTT authorization request.
Implementations
The value of the username
key in an MQTT authorization request.
The value of the password
key in an MQTT authorization request.
Creates a new builder-style object to manufacture MqttContext
Trait Implementations
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 MqttContext
impl Send for MqttContext
impl Sync for MqttContext
impl Unpin for MqttContext
impl UnwindSafe for MqttContext
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more