Struct activitystreams::activity::Block [] [src]

pub struct Block {
    pub kind: BlockType,
    pub block_props: ActorAndObject,
    pub object_props: ObjectProperties,
    pub activity_props: ActivityProperties,
}

Indicates that the actor is blocking the object.

Blocking is a stronger form of Ignore. The typical use is to support social systems that allow one user to block activities or content of other users. The target and origin typically have no defined meaning.

Fields

Adds all valid block properties to this struct

Adds all valid object properties to this struct

Adds all valid activity properties to this struct

Trait Implementations

impl Object for Block
[src]

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

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Block
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl Activity for Block
[src]

impl Clone for Block
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Block
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Block
[src]

[src]

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

Auto Trait Implementations

impl Send for Block

impl Sync for Block