[][src]Trait activitystreams_new::activity::OptOriginRef

pub trait OptOriginRef: Activity {
    fn origin_field_ref(&self) -> &Option<OneOrMany<AnyBase>>;
fn origin_field_mut(&mut self) -> &mut Option<OneOrMany<AnyBase>>; }

Implementation trait for deriving Origin methods for a type

Any type implementing OptOriginRef will automatically gain methods provided by OptOriginRefExt

Required methods

fn origin_field_ref(&self) -> &Option<OneOrMany<AnyBase>>

Immutable borrow of origin field

fn origin_field_mut(&mut self) -> &mut Option<OneOrMany<AnyBase>>

Mutable borrow of origin field

Loading content...

Implementors

impl OptOriginRef for Delete[src]

impl OptOriginRef for Travel[src]

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

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

Loading content...