[][src]Struct rusoto_iot::TestAuthorizationRequest

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 PartialEq<TestAuthorizationRequest> for TestAuthorizationRequest[src]

impl Default for TestAuthorizationRequest[src]

impl Clone for TestAuthorizationRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TestAuthorizationRequest[src]

impl Serialize for TestAuthorizationRequest[src]

Auto Trait Implementations

impl Send for TestAuthorizationRequest

impl Sync for TestAuthorizationRequest

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self