pub enum BodyFormat {
Plain,
Markdown,
}Expand description
Format of an optional rich body attached to an interaction request.
Variants§
Plain
Plain text body (no special rendering).
Markdown
Markdown body - rendered via the dashboard’s markdown renderer.
Trait Implementations§
Source§impl Clone for BodyFormat
impl Clone for BodyFormat
Source§fn clone(&self) -> BodyFormat
fn clone(&self) -> BodyFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BodyFormat
impl Debug for BodyFormat
Source§impl Default for BodyFormat
impl Default for BodyFormat
Source§fn default() -> BodyFormat
fn default() -> BodyFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BodyFormat
impl<'de> Deserialize<'de> for BodyFormat
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 BodyFormat
impl PartialEq for BodyFormat
Source§impl Serialize for BodyFormat
impl Serialize for BodyFormat
impl StructuralPartialEq for BodyFormat
Auto Trait Implementations§
impl Freeze for BodyFormat
impl RefUnwindSafe for BodyFormat
impl Send for BodyFormat
impl Sync for BodyFormat
impl Unpin for BodyFormat
impl UnsafeUnpin for BodyFormat
impl UnwindSafe for BodyFormat
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