Struct serenity::utils::Content[][src]

pub struct Content {
    pub italic: bool,
    pub bold: bool,
    pub strikethrough: bool,
    pub inner: String,
    pub code: bool,
    pub underline: bool,
}

Describes formatting on string content

Fields

Methods

impl Content
[src]

Trait Implementations

impl Debug for Content
[src]

Formats the value using the given formatter. Read more

impl Default for Content
[src]

Returns the "default value" for a type. Read more

impl Clone for Content
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: ToString> Add<T> for Content
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Add<ContentModifier> for Content
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl From<ContentModifier> for Content
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Content

impl Sync for Content