pub enum ReplyFormat {
Markdown,
PlainText,
Html,
Json,
Code(String),
Table,
Bullet,
}Expand description
The format a reply should take — the shape of the strike.
Variants§
Markdown
Markdown-formatted text.
PlainText
Plain text with no formatting.
Html
HTML-formatted text.
Json
Raw JSON output.
Code(String)
Code block in the specified language.
Table
Tabular format.
Bullet
Bulleted list format.
Trait Implementations§
Source§impl Clone for ReplyFormat
impl Clone for ReplyFormat
Source§fn clone(&self) -> ReplyFormat
fn clone(&self) -> ReplyFormat
Returns a duplicate 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 ReplyFormat
impl Debug for ReplyFormat
Source§impl<'de> Deserialize<'de> for ReplyFormat
impl<'de> Deserialize<'de> for ReplyFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ReplyFormat
impl PartialEq for ReplyFormat
Source§impl Serialize for ReplyFormat
impl Serialize for ReplyFormat
impl Eq for ReplyFormat
impl StructuralPartialEq for ReplyFormat
Auto Trait Implementations§
impl Freeze for ReplyFormat
impl RefUnwindSafe for ReplyFormat
impl Send for ReplyFormat
impl Sync for ReplyFormat
impl Unpin for ReplyFormat
impl UnsafeUnpin for ReplyFormat
impl UnwindSafe for ReplyFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.