[][src]Enum discord_game_sdk::RelationshipKind

pub enum RelationshipKind {
    Blocked,
    Friend,
    Implicit,
    None,
    PendingIncoming,
    PendingOutgoing,
    Undefined(EDiscordRelationshipType),
}

Relationship Type

Enum in official docs

Variants

Blocked

User is blocked

Friend

User is a friend

Implicit

Not a friend but interacts with current user often (frequency + recency)

None

User has no intrinsic relationship

PendingIncoming

User has a pending incoming friend request to current user

PendingOutgoing

Current user has a pending outgoing friend request to user

Safety net for missing definitions

Trait Implementations

impl Clone for RelationshipKind[src]

impl Copy for RelationshipKind[src]

impl Debug for RelationshipKind[src]

impl Eq for RelationshipKind[src]

impl From<u32> for RelationshipKind[src]

impl Hash for RelationshipKind[src]

impl PartialEq<RelationshipKind> for RelationshipKind[src]

impl StructuralEq for RelationshipKind[src]

impl StructuralPartialEq for RelationshipKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.