Enum dasi::model::RelationshipType [] [src]

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

A type of relationship this user has with another.

Variants

Ignored
Friends
Blocked
IncomingRequest
OutgoingRequest

Methods

impl RelationshipType

fn from_num(kind: u64) -> Option<Self>

Trait Implementations

Derived Implementations

impl Debug for RelationshipType

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

impl PartialEq for RelationshipType

fn eq(&self, __arg_0: &RelationshipType) -> bool

1.0.0fn ne(&self, other: &Rhs) -> bool

impl Eq for RelationshipType

impl Hash for RelationshipType

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Clone for RelationshipType

fn clone(&self) -> RelationshipType

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

impl Copy for RelationshipType