#[non_exhaustive]
pub struct SmsChannelResponse {
Show 14 fields pub application_id: Option<String>, pub creation_date: 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 promotional_messages_per_second: i32, pub sender_id: Option<String>, pub short_code: Option<String>, pub transactional_messages_per_second: i32, pub version: i32,
}
Expand description

Provides information about the status and settings of the SMS channel for an application.

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 SMS channel applies to.

creation_date: Option<String>

The date and time, in ISO 8601 format, when the SMS channel was enabled.

enabled: bool

Specifies whether the SMS 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 SMS channel. This property is retained only for backward compatibility.

is_archived: bool

Specifies whether the SMS channel is archived.

last_modified_by: Option<String>

The user who last modified the SMS channel.

last_modified_date: Option<String>

The date and time, in ISO 8601 format, when the SMS channel was last modified.

platform: Option<String>

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

promotional_messages_per_second: i32

The maximum number of promotional messages that you can send through the SMS channel each second.

sender_id: Option<String>

The identity that displays on recipients' devices when they receive messages from the SMS channel.

short_code: Option<String>

The registered short code to use when you send messages through the SMS channel.

transactional_messages_per_second: i32

The maximum number of transactional messages that you can send through the SMS channel each second.

version: i32

The current version of the SMS channel.

Implementations

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

The date and time, in ISO 8601 format, when the SMS channel was enabled.

Specifies whether the SMS channel is enabled for the application.

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

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

Specifies whether the SMS channel is archived.

The user who last modified the SMS channel.

The date and time, in ISO 8601 format, when the SMS channel was last modified.

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

The maximum number of promotional messages that you can send through the SMS channel each second.

The identity that displays on recipients' devices when they receive messages from the SMS channel.

The registered short code to use when you send messages through the SMS channel.

The maximum number of transactional messages that you can send through the SMS channel each second.

The current version of the SMS channel.

Creates a new builder-style object to manufacture SmsChannelResponse

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