Enum discord::model::PossibleServer
[−]
[src]
pub enum PossibleServer<T> { Offline(ServerId), Online(T), }
A server which may be unavailable
Variants
Offline(ServerId)
An offline server, the ID of which is known
Online(T)
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]
impl<T: Clone> Clone for PossibleServer<T>
[src]
fn clone(&self) -> PossibleServer<T>
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