Struct discord::model::Maintenance [] [src]

pub struct Maintenance {
    pub description: String,
    pub id: String,
    pub name: String,
    pub start: String,
    pub stop: String,
}

Discord status maintenance message.

This can be either for active maintenances or scheduled maintenances.

Fields

description
id
name
start
stop

Methods

impl Maintenance
[src]

fn decode(value: Value) -> Result<Self>

Trait Implementations

Derived Implementations

impl Clone for Maintenance
[src]

fn clone(&self) -> Maintenance

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Maintenance
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.