[][src]Trait activitystreams_new::activity::TargetRef

pub trait TargetRef: Activity {
    fn target_field_ref(&self) -> &OneOrMany<AnyBase>;
fn target_field_mut(&mut self) -> &mut OneOrMany<AnyBase>; }

Implementation trait for deriving Target methods for a type

Any type implementing TargetRef will automatically gain methods provided by TargetRefExt

Required methods

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

Immutable borrow of target field

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

Mutable borrow of target field

Loading content...


impl TargetRef for Invite[src]

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

Loading content...