[][src]Trait activitystreams_new::object::AsObject

pub trait AsObject<Kind>: Object {
    fn object_ref(&self) -> &Object<Kind>;
fn object_mut(&mut self) -> &mut Object<Kind>; }

Implementation trait for deriving Object methods for a type

Any type implementing AsObject will automatically gain methods provided by ObjectExt

Required methods

fn object_ref(&self) -> &Object<Kind>

Immutable borrow of Object<Kind>

fn object_mut(&mut self) -> &mut Object<Kind>

Mutable borrow of Object<Kind>

Loading content...

Implementors

impl AsObject<ArriveType> for Arrive[src]

impl AsObject<DeleteType> for Delete[src]

impl AsObject<InviteType> for Invite[src]

impl AsObject<QuestionType> for Question[src]

impl AsObject<TravelType> for Travel[src]

impl AsObject<OrderedCollectionPageType> for OrderedCollectionPage[src]

impl AsObject<PlaceType> for Place[src]

impl AsObject<ProfileType> for Profile[src]

impl AsObject<RelationshipType> for Relationship[src]

impl AsObject<TombstoneType> for Tombstone[src]

impl<Inner, Kind> AsObject<Kind> for ApActor<Inner> where
    Inner: AsObject<Kind>, 
[src]

impl<Inner, Kind> AsObject<Kind> for ApObject<Inner> where
    Inner: AsObject<Kind>, 
[src]

impl<Kind> AsObject<Kind> for Activity<Kind>[src]

impl<Kind> AsObject<Kind> for ActorAndObject<Kind>[src]

impl<Kind> AsObject<Kind> for ActorAndObjectOptOriginAndTarget<Kind>[src]

impl<Kind> AsObject<Kind> for ActorAndObjectOptTarget<Kind>[src]

impl<Kind> AsObject<Kind> for Actor<Kind>[src]

impl<Kind> AsObject<Kind> for Collection<Kind>[src]

impl<Kind> AsObject<Kind> for CollectionPage<Kind>[src]

impl<Kind> AsObject<Kind> for Object<Kind>[src]

Loading content...