#[non_exhaustive]
pub struct GcmChannelResponse { pub application_id: Option<String>, pub creation_date: Option<String>, pub credential: Option<String>, pub enabled: bool, pub has_credential: bool, pub id: Option<String>, pub is_archived: bool, pub last_modified_by: Option<String>, pub last_modified_date: Option<String>, pub platform: Option<String>, pub version: i32, }
Expand description

Provides information about the status and settings of the GCM channel for an application. The GCM channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
application_id: Option<String>

The unique identifier for the application that the GCM channel applies to.

creation_date: Option<String>

The date and time when the GCM channel was enabled.

credential: Option<String>

The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.

enabled: bool

Specifies whether the GCM channel is enabled for the application.

has_credential: bool

(Not used) This property is retained only for backward compatibility.

id: Option<String>

(Deprecated) An identifier for the GCM channel. This property is retained only for backward compatibility.

is_archived: bool

Specifies whether the GCM channel is archived.

last_modified_by: Option<String>

The user who last modified the GCM channel.

last_modified_date: Option<String>

The date and time when the GCM channel was last modified.

platform: Option<String>

The type of messaging or notification platform for the channel. For the GCM channel, this value is GCM.

version: i32

The current version of the GCM channel.

Implementations

The unique identifier for the application that the GCM channel applies to.

The date and time when the GCM channel was enabled.

The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.

Specifies whether the GCM channel is enabled for the application.

(Not used) This property is retained only for backward compatibility.

(Deprecated) An identifier for the GCM channel. This property is retained only for backward compatibility.

Specifies whether the GCM channel is archived.

The user who last modified the GCM channel.

The date and time when the GCM channel was last modified.

The type of messaging or notification platform for the channel. For the GCM channel, this value is GCM.

The current version of the GCM channel.

Creates a new builder-style object to manufacture GcmChannelResponse

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more