pub enum FormattedMessageComponent {
Section(String, Vec<FormattedString>),
Text(Vec<FormattedString>),
}Variants§
Section(String, Vec<FormattedString>)
Text(Vec<FormattedString>)
Trait Implementations§
source§impl Clone for FormattedMessageComponent
impl Clone for FormattedMessageComponent
source§fn clone(&self) -> FormattedMessageComponent
fn clone(&self) -> FormattedMessageComponent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FormattedMessageComponent
impl Debug for FormattedMessageComponent
source§impl PartialEq<FormattedMessageComponent> for FormattedMessageComponent
impl PartialEq<FormattedMessageComponent> for FormattedMessageComponent
source§fn eq(&self, other: &FormattedMessageComponent) -> bool
fn eq(&self, other: &FormattedMessageComponent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.