#[non_exhaustive]pub struct CreatePlatformApplicationInput {
pub name: Option<String>,
pub platform: Option<String>,
pub attributes: Option<HashMap<String, String>>,
}Expand description
Input for CreatePlatformApplication action.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.
platform: Option<String>The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud Messaging).
attributes: Option<HashMap<String, String>>For a list of attributes, see SetPlatformApplicationAttributes .
Implementations§
source§impl CreatePlatformApplicationInput
impl CreatePlatformApplicationInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.
sourcepub fn platform(&self) -> Option<&str>
pub fn platform(&self) -> Option<&str>
The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud Messaging).
sourcepub fn attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
For a list of attributes, see SetPlatformApplicationAttributes .
source§impl CreatePlatformApplicationInput
impl CreatePlatformApplicationInput
sourcepub fn builder() -> CreatePlatformApplicationInputBuilder
pub fn builder() -> CreatePlatformApplicationInputBuilder
Creates a new builder-style object to manufacture CreatePlatformApplicationInput.
Trait Implementations§
source§impl Clone for CreatePlatformApplicationInput
impl Clone for CreatePlatformApplicationInput
source§fn clone(&self) -> CreatePlatformApplicationInput
fn clone(&self) -> CreatePlatformApplicationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreatePlatformApplicationInput
impl PartialEq for CreatePlatformApplicationInput
source§fn eq(&self, other: &CreatePlatformApplicationInput) -> bool
fn eq(&self, other: &CreatePlatformApplicationInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreatePlatformApplicationInput
Auto Trait Implementations§
impl Freeze for CreatePlatformApplicationInput
impl RefUnwindSafe for CreatePlatformApplicationInput
impl Send for CreatePlatformApplicationInput
impl Sync for CreatePlatformApplicationInput
impl Unpin for CreatePlatformApplicationInput
impl UnwindSafe for CreatePlatformApplicationInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more