Struct activitypub::activity::Question[][src]

pub struct Question {
    pub question_props: QuestionProperties,
    pub object_props: ObjectProperties,
    pub ap_object_props: ApObjectProperties,
    pub activity_props: ActivityProperties,
    // some fields omitted
}

Represents a question being asked.

Question objects are an extension of IntransitiveActivity. That is, the Question object is an Activity, but the direct object is the question itself and therefore it would not contain an object property.

Either of the anyOf and oneOf properties MAY be used to express possible answers, but a Question object MUST NOT have both properties.

Fields

Trait Implementations

impl Clone for Question
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Question
[src]

Formats the value using the given formatter. Read more

impl Default for Question
[src]

Returns the "default value" for a type. Read more

impl Object for Question
[src]

impl ObjectExt for Question
[src]

impl ApObjectExt for Question
[src]

impl Activity for Question
[src]

impl ActivityExt for Question
[src]

impl IntransitiveActivity for Question
[src]

Auto Trait Implementations

impl Send for Question

impl Sync for Question