Struct activitystreams_types::activity::Undo [−][src]
pub struct Undo {
pub kind: UndoType,
pub undo_props: UndoProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}Indicates that the actor is undoing the object.
In most cases, the object will be an Activity describing some previously performed action (for instance, a person may have previously "liked" an article but, for whatever reason, might choose to undo that like at some later point in time).
The target and origin typically have no defined meaning.
Fields
kind: UndoType
undo_props: UndoProperties
Adds all valid undo 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 Undo[src]
impl Clone for Undofn clone(&self) -> Undo[src]
fn clone(&self) -> UndoReturns 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 Undo[src]
impl Debug for Undofn 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 Undo[src]
impl Default for Undoimpl Object for Undo[src]
impl Object for Undoimpl ObjectExt for Undo[src]
impl ObjectExt for Undofn props(&self) -> &ObjectProperties[src]
fn props(&self) -> &ObjectPropertiesfn props_mut(&mut self) -> &mut ObjectProperties[src]
fn props_mut(&mut self) -> &mut ObjectPropertiesimpl Activity for Undo[src]
impl Activity for Undoimpl ActivityExt for Undo[src]
impl ActivityExt for Undofn props(&self) -> &ActivityProperties[src]
fn props(&self) -> &ActivityPropertiesfn props_mut(&mut self) -> &mut ActivityProperties[src]
fn props_mut(&mut self) -> &mut ActivityProperties