Struct rusoto_sns::CreatePlatformEndpointInput
source · [−]pub struct CreatePlatformEndpointInput {
pub attributes: Option<HashMap<String, String>>,
pub custom_user_data: Option<String>,
pub platform_application_arn: String,
pub token: String,
}
Expand description
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 (Firebase Cloud Messaging) or ADM, the device token equivalent is called the registration ID.
Trait Implementations
sourceimpl Clone for CreatePlatformEndpointInput
impl Clone for CreatePlatformEndpointInput
sourcefn clone(&self) -> CreatePlatformEndpointInput
fn clone(&self) -> CreatePlatformEndpointInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreatePlatformEndpointInput
impl Debug for CreatePlatformEndpointInput
sourceimpl Default for CreatePlatformEndpointInput
impl Default for CreatePlatformEndpointInput
sourcefn default() -> CreatePlatformEndpointInput
fn default() -> CreatePlatformEndpointInput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreatePlatformEndpointInput> for CreatePlatformEndpointInput
impl PartialEq<CreatePlatformEndpointInput> for CreatePlatformEndpointInput
sourcefn eq(&self, other: &CreatePlatformEndpointInput) -> bool
fn eq(&self, other: &CreatePlatformEndpointInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreatePlatformEndpointInput) -> bool
fn ne(&self, other: &CreatePlatformEndpointInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreatePlatformEndpointInput
Auto Trait Implementations
impl RefUnwindSafe for CreatePlatformEndpointInput
impl Send for CreatePlatformEndpointInput
impl Sync for CreatePlatformEndpointInput
impl Unpin for CreatePlatformEndpointInput
impl UnwindSafe for CreatePlatformEndpointInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more