[][src]Trait activitystreams_new::activity::OriginRef

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

Implementation trait for deriving Origin methods for a type

Any type implementing OriginRef will automatically gain methods provided by OriginRefExt

Required methods

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

Immutable borrow of origin field

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

Mutable borrow of origin field

Loading content...


impl OriginRef for Arrive[src]

impl<Inner> OriginRef for ApObject<Inner> where
    Inner: OriginRef

Loading content...