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

impl Default for TestAuthorizationRequest[src]

impl PartialEq<TestAuthorizationRequest> for TestAuthorizationRequest[src]

impl Debug for TestAuthorizationRequest[src]

impl Serialize for TestAuthorizationRequest[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self