[][src]Struct rusoto_sns::CreatePlatformEndpointInput

pub struct CreatePlatformEndpointInput {
    pub attributes: Option<HashMap<String, String>>,
    pub custom_user_data: Option<String>,
    pub platform_application_arn: String,
    pub token: String,
}

Input for CreatePlatformEndpoint action.

Fields

attributes: Option<HashMap<String, String>>

For a list of attributes, see SetEndpointAttributes.

custom_user_data: Option<String>

Arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.

platform_application_arn: String

PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.

token: String

Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using GCM or ADM, the device token equivalent is called the registration ID.

Trait Implementations

impl PartialEq<CreatePlatformEndpointInput> for CreatePlatformEndpointInput[src]

impl Default for CreatePlatformEndpointInput[src]

impl Clone for CreatePlatformEndpointInput[src]

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

Performs copy-assignment from source. Read more

impl Debug for CreatePlatformEndpointInput[src]

Auto Trait Implementations

impl Send for CreatePlatformEndpointInput

impl Sync for CreatePlatformEndpointInput

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