Struct discord::model::FriendSourceFlags [] [src]

pub struct FriendSourceFlags {
    pub all: bool,
    pub mutual_friends: bool,
    pub mutual_servers: bool,
}

Flags for who may add this user as a friend.

Fields

all
mutual_friends
mutual_servers

Methods

impl FriendSourceFlags
[src]

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

Trait Implementations

Derived Implementations

impl Clone for FriendSourceFlags
[src]

fn clone(&self) -> FriendSourceFlags

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 FriendSourceFlags
[src]

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

Formats the value using the given formatter.