Struct activitypub::activity::Undo [−][src]
pub struct Undo { pub undo_props: UndoProperties, pub object_props: ObjectProperties, pub ap_object_props: ApObjectProperties, pub activity_props: ActivityProperties, // some fields omitted }
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
undo_props: UndoProperties
object_props: ObjectProperties
ap_object_props: ApObjectProperties
activity_props: ActivityProperties
Trait Implementations
impl Clone for Undo
[src]
impl Clone for Undo
fn clone(&self) -> Undo
[src]
fn clone(&self) -> Undo
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 Undo
[src]
impl Debug for Undo
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 Undo
[src]
impl Default for Undo
impl Object for Undo
[src]
impl Object for Undo
impl Activity for Undo
[src]
impl Activity for Undo