Struct message_format::Message
[−]
[src]
pub struct Message { /* fields omitted */ }
A message that has been localized and can be formatted in a locale-aware manner.
Methods
impl Message
[src]
fn new(parts: Vec<MessagePart>) -> Self
Construct a message from constituent parts.
fn format_message(&self, stream: &mut Write, args: &Args) -> Result
Format a message to a stream.