Struct activitypub::activity::Block [−][src]
pub struct Block { pub block_props: BlockProperties, pub object_props: ObjectProperties, pub ap_object_props: ApObjectProperties, pub activity_props: ActivityProperties, // some fields omitted }
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
block_props: BlockProperties
object_props: ObjectProperties
ap_object_props: ApObjectProperties
activity_props: ActivityProperties
Trait Implementations
impl Clone for Block
[src]
impl Clone for Block
fn clone(&self) -> Block
[src]
fn clone(&self) -> Block
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Block
[src]
impl Debug for Block
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Block
[src]
impl Default for Block
impl Object for Block
[src]
impl Object for Block
impl Activity for Block
[src]
impl Activity for Block