Struct rusoto_iot::TestAuthorizationRequest [−][src]
pub struct TestAuthorizationRequest { pub auth_infos: Vec<AuthInfo>, pub client_id: Option<String>, pub cognito_identity_pool_id: Option<String>, pub policy_names_to_add: Option<Vec<String>>, pub policy_names_to_skip: Option<Vec<String>>, pub principal: Option<String>, }
Fields
auth_infos: Vec<AuthInfo>
A list of authorization info objects. Simulating authorization will create a response for each authInfo
object in the list.
client_id: Option<String>
The MQTT client ID.
cognito_identity_pool_id: Option<String>
The Cognito identity pool ID.
policy_names_to_add: Option<Vec<String>>
When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.
policy_names_to_skip: Option<Vec<String>>
When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.
principal: Option<String>
The principal.
Trait Implementations
impl Default for TestAuthorizationRequest
[src]
impl Default for TestAuthorizationRequest
fn default() -> TestAuthorizationRequest
[src]
fn default() -> TestAuthorizationRequest
Returns the "default value" for a type. Read more
impl Debug for TestAuthorizationRequest
[src]
impl Debug for TestAuthorizationRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for TestAuthorizationRequest
[src]
impl Clone for TestAuthorizationRequest
fn clone(&self) -> TestAuthorizationRequest
[src]
fn clone(&self) -> TestAuthorizationRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for TestAuthorizationRequest
[src]
impl PartialEq for TestAuthorizationRequest
fn eq(&self, other: &TestAuthorizationRequest) -> bool
[src]
fn eq(&self, other: &TestAuthorizationRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TestAuthorizationRequest) -> bool
[src]
fn ne(&self, other: &TestAuthorizationRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for TestAuthorizationRequest
impl Send for TestAuthorizationRequest
impl Sync for TestAuthorizationRequest
impl Sync for TestAuthorizationRequest