pub enum DisplayType {
Text {
highlighted: String,
},
Markdown {
highlighted: String,
displayed: String,
},
Image,
Video,
Audio,
Pdf,
Other,
TooLarge,
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DisplayType
impl RefUnwindSafe for DisplayType
impl Send for DisplayType
impl Sync for DisplayType
impl Unpin for DisplayType
impl UnwindSafe for DisplayType
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