Enum discord::model::RelationshipType [] [src]

pub enum RelationshipType {
    Ignored,
    Friends,
    Blocked,
    IncomingRequest,
    OutgoingRequest,
}

A type of relationship this user has with another.

Variants

Methods

impl RelationshipType
[src]

Trait Implementations

impl Copy for RelationshipType
[src]

impl Clone for RelationshipType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for RelationshipType
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for RelationshipType
[src]

impl PartialEq for RelationshipType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for RelationshipType
[src]

Formats the value using the given formatter.

impl Serialize for RelationshipType
[src]

Serialize this value into the given Serde serializer. Read more

impl<'d> Deserialize<'d> for RelationshipType
[src]

Deserialize this value from the given Serde deserializer. Read more