Struct activitystreams::activity::Undo [] [src]

pub struct Undo {
    pub kind: UndoType,
    pub undo_props: ActorAndObject,
    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

Adds all valid undo properties to this struct

Adds all valid object properties to this struct

Adds all valid activity properties to this struct

Trait Implementations

impl Object for Undo
[src]

impl<'de> Deserialize<'de> for Undo
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Undo
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl Activity for Undo
[src]

impl Clone for Undo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Undo
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Undo
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Undo

impl Sync for Undo