Struct activitystreams::activity::Flag[][src]

pub struct Flag {
    pub kind: FlagType,
    pub flag_props: ActorAndObject,
    pub object_props: ObjectProperties,
    pub activity_props: ActivityProperties,
}

Indicates that the actor is "flagging" the object.

Flagging is defined in the sense common to many social platforms as reporting content as being inappropriate for any number of reasons.

Fields

Adds all valid flag properties to this struct

Adds all valid object properties to this struct

Adds all valid activity properties to this struct

Trait Implementations

impl<'de> Deserialize<'de> for Flag
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Object for Flag
[src]

impl ActivityExt for Flag
[src]

impl Clone for Flag
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Flag
[src]

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

impl ObjectExt for Flag
[src]

impl Debug for Flag
[src]

Formats the value using the given formatter. Read more

impl Serialize for Flag
[src]

Serialize this value into the given Serde serializer. Read more

impl Activity for Flag
[src]

Auto Trait Implementations

impl Send for Flag

impl Sync for Flag