Struct dasi::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

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

Trait Implementations

Derived Implementations

impl Clone for Relationship

fn clone(&self) -> Relationship

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

impl Debug for Relationship

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