Enum clacks::mtproto::RichText
[−]
[src]
pub enum RichText { textEmpty, textPlain(textPlain), textBold(textBold), textItalic(textItalic), textUnderline(textUnderline), textStrike(textStrike), textFixed(textFixed), textUrl(textUrl), textEmail(textEmail), textConcat(textConcat), }
Variants
textEmpty
textPlain(textPlain)
textBold(textBold)
textItalic(textItalic)
textUnderline(textUnderline)
textStrike(textStrike)
textFixed(textFixed)
textUrl(textUrl)
textEmail(textEmail)
textConcat(textConcat)
Trait Implementations
impl Debug for RichText
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for RichText
[src]
fn clone(&self) -> RichText
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl BoxedSerialize for RichText
[src]
fn serialize_boxed<'this>(
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
[src]
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
impl BoxedDeserialize for RichText
[src]
fn possible_constructors() -> Vec<ConstructorNumber>
[src]
fn deserialize_boxed(
_id: ConstructorNumber,
_de: &mut Deserializer
) -> Result<Self>
[src]
_id: ConstructorNumber,
_de: &mut Deserializer
) -> Result<Self>