Struct dasi::model::ServerInfo [] [src]

pub struct ServerInfo {
    pub id: ServerId,
    pub name: String,
    pub icon: Option<String>,
    pub owner: bool,
    pub permissions: Permissions,
}

The basic information about a server only

Fields

id
name
icon
owner
permissions

Methods

impl ServerInfo

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

Trait Implementations

Derived Implementations

impl Clone for ServerInfo

fn clone(&self) -> ServerInfo

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

impl Debug for ServerInfo

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