Struct activitystreams_types::activity::Add [−][src]
pub struct Add {
pub kind: AddType,
pub add_props: AddProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}Indicates that the actor has added the object to the target.
If the target property is not explicitly specified, the target would need to be determined implicitly by context. The origin can be used to identify the context from which the object originated.
Fields
kind: AddType
add_props: AddProperties
Adds all valid add 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 Add[src]
impl Clone for Addfn clone(&self) -> Add[src]
fn clone(&self) -> AddReturns 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 Add[src]
impl Debug for Addfn 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 Add[src]
impl Default for Addimpl Object for Add[src]
impl Object for Addimpl ObjectExt for Add[src]
impl ObjectExt for Addfn props(&self) -> &ObjectProperties[src]
fn props(&self) -> &ObjectPropertiesfn props_mut(&mut self) -> &mut ObjectProperties[src]
fn props_mut(&mut self) -> &mut ObjectPropertiesimpl Activity for Add[src]
impl Activity for Addimpl ActivityExt for Add[src]
impl ActivityExt for Addfn props(&self) -> &ActivityProperties[src]
fn props(&self) -> &ActivityPropertiesfn props_mut(&mut self) -> &mut ActivityProperties[src]
fn props_mut(&mut self) -> &mut ActivityProperties