[][src]Trait activitystreams_new::activity::AsQuestion

pub trait AsQuestion: Activity {
    fn question_ref(&self) -> &Question;
fn question_mut(&mut self) -> &mut Question; }

Implementation trait for deriving Question methods for a type

Any type implementing AsQuestion will automatically gain methods provided by QuestionExt

Required methods

fn question_ref(&self) -> &Question

Immutable borrow of Question

fn question_mut(&mut self) -> &mut Question

Mutable borrow of Question

Loading content...

Implementors

impl AsQuestion for Question[src]

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

Loading content...