pub struct Content {
pub italic: bool,
pub bold: bool,
pub strikethrough: bool,
pub inner: String,
pub code: bool,
pub underline: bool,
pub spoiler: bool,
}
Expand description
Describes formatting on string content
Fields§
§italic: bool
§bold: bool
§strikethrough: bool
§inner: String
§code: bool
§underline: bool
§spoiler: bool
Implementations§
Trait Implementations§
Source§impl Add<ContentModifier> for Content
impl Add<ContentModifier> for Content
Auto Trait Implementations§
impl Freeze for Content
impl RefUnwindSafe for Content
impl Send for Content
impl Sync for Content
impl Unpin for Content
impl UnwindSafe for Content
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