Struct activitystreams_types::activity::Block [−][src]
pub struct Block {
pub kind: BlockType,
pub block_props: BlockProperties,
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
kind: BlockType
block_props: BlockProperties
Adds all valid block 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 Clone for Block[src]
impl Clone for Blockfn clone(&self) -> Block[src]
fn clone(&self) -> BlockReturns 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 Blockfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Block[src]
impl Default for Blockimpl Object for Block[src]
impl Object for Blockimpl ObjectExt for Block[src]
impl ObjectExt for Blockfn props(&self) -> &ObjectProperties[src]
fn props(&self) -> &ObjectPropertiesfn props_mut(&mut self) -> &mut ObjectProperties[src]
fn props_mut(&mut self) -> &mut ObjectPropertiesimpl Activity for Block[src]
impl Activity for Blockimpl ActivityExt for Block[src]
impl ActivityExt for Blockfn props(&self) -> &ActivityProperties[src]
fn props(&self) -> &ActivityPropertiesfn props_mut(&mut self) -> &mut ActivityProperties[src]
fn props_mut(&mut self) -> &mut ActivityProperties