Enum discord::model::PossibleServer [] [src]

pub enum PossibleServer<T> {
    Offline(ServerId),
    Online(T),
}

A server which may be unavailable

Variants

An offline server, the ID of which is known

An online server, for which more information is available

Methods

impl PossibleServer<LiveServer>
[src]

impl PossibleServer<Server>
[src]

Trait Implementations

impl<T: Debug> Debug for PossibleServer<T>
[src]

Formats the value using the given formatter.

impl<T: Clone> Clone for PossibleServer<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more