[][src]Trait activitystreams::object::AsRelationship

pub trait AsRelationship: Object {
    fn relationship_ref(&self) -> &Relationship;
fn relationship_mut(&mut self) -> &mut Relationship; }

Implementation trait for deriving Relationship methods for a type

Any type implementing AsRelationship will automatically gain methods provided by RelationshipExt

Required methods

fn relationship_ref(&self) -> &Relationship

Immutable borrow of Relationship

fn relationship_mut(&mut self) -> &mut Relationship

Mutable borrow of Relationship

Loading content...

Implementors

impl AsRelationship for Relationship[src]

impl<Inner> AsRelationship for ApObject<Inner> where
    Inner: AsRelationship
[src]

Loading content...