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
default_message: Option<String>
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.
localized_messages: Option<HashMap<String, String>>
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]
impl Default for UserFacingMessagefn default() -> UserFacingMessage[src]
fn default() -> UserFacingMessageReturns the "default value" for a type. Read more
impl Clone for UserFacingMessage[src]
impl Clone for UserFacingMessagefn clone(&self) -> UserFacingMessage[src]
fn clone(&self) -> UserFacingMessageReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for UserFacingMessage[src]
impl Debug for UserFacingMessagefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Part for UserFacingMessage[src]
impl Part for UserFacingMessageAuto Trait Implementations
impl Send for UserFacingMessage
impl Send for UserFacingMessageimpl Sync for UserFacingMessage
impl Sync for UserFacingMessage