[][src]Struct activitystreams_types::activity::Flag

pub struct Flag {
    pub kind: FlagType,
    pub flag_props: FlagProperties,
    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

kind: FlagTypeflag_props: FlagProperties

Adds all valid flag properties to this struct

object_props: ObjectProperties

Adds all valid object properties to this struct

activity_props: ActivityProperties

Adds all valid activity properties to this struct

Trait Implementations

impl ActivityExt for Flag
[src]

impl ObjectExt for Flag
[src]

impl Default for Flag
[src]

impl Clone for Flag
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Flag
[src]

impl Activity for Flag
[src]

impl Object for Flag
[src]

impl Serialize for Flag
[src]

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

Auto Trait Implementations

impl Send for Flag

impl Sync for Flag

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]