Struct google_androidmanagement1::UserFacingMessage[][src]

pub struct UserFacingMessage {
    pub default_message: Option<String>,
    pub localized_messages: Option<HashMap<String, String>>,
}

Provides a user-facing message with locale info. The maximum message length is 4096 characters.

This type is not used in any activity, and only used as part of another schema.

Fields

The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided.

A map containing <locale, message> pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr.

Trait Implementations

impl Default for UserFacingMessage
[src]

Returns the "default value" for a type. Read more

impl Clone for UserFacingMessage
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for UserFacingMessage
[src]

Formats the value using the given formatter. Read more

impl Part for UserFacingMessage
[src]

Auto Trait Implementations