Struct tbot::markup::markdown_v2::MarkdownV2
source · pub struct MarkdownV2<T>(_);
Expand description
Represents MarkdownV2 text. Can be created with markdown_v2
.
Trait Implementations§
source§impl<T: Clone> Clone for MarkdownV2<T>
impl<T: Clone> Clone for MarkdownV2<T>
source§fn clone(&self) -> MarkdownV2<T>
fn clone(&self) -> MarkdownV2<T>
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<T: Debug> Debug for MarkdownV2<T>
impl<T: Debug> Debug for MarkdownV2<T>
source§impl<T: Formattable> From<MarkdownV2<T>> for Text
impl<T: Formattable> From<MarkdownV2<T>> for Text
source§fn from(markup: MarkdownV2<T>) -> Self
fn from(markup: MarkdownV2<T>) -> Self
Converts to this type from the input type.
source§impl<T: Hash> Hash for MarkdownV2<T>
impl<T: Hash> Hash for MarkdownV2<T>
source§impl<T: PartialEq> PartialEq<MarkdownV2<T>> for MarkdownV2<T>
impl<T: PartialEq> PartialEq<MarkdownV2<T>> for MarkdownV2<T>
source§fn eq(&self, other: &MarkdownV2<T>) -> bool
fn eq(&self, other: &MarkdownV2<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.