Struct discord::model::Relationship [] [src]

pub struct Relationship {
    pub id: UserId,
    pub kind: RelationshipType,
    pub user: User,
}

Information on a friendship relationship this user has with another.

Fields

id
kind
user

Methods

impl Relationship
[src]

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

Trait Implementations

Derived Implementations

impl Clone for Relationship
[src]

fn clone(&self) -> Relationship

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

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

Formats the value using the given formatter.