Struct activitystreams::activity::Delete [−][src]
pub struct Delete { pub kind: DeleteType, pub delete_props: ActorAndObjectOptOrigin, pub object_props: ObjectProperties, pub activity_props: ActivityProperties, }
Indicates that the actor has deleted the object.
If specified, the origin indicates the context from which the object was deleted.
Fields
kind: DeleteType
delete_props: ActorAndObjectOptOrigin
Adds all valid delete 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<'de> Deserialize<'de> for Delete
[src]
impl<'de> Deserialize<'de> for Delete
fn deserialize<__D>(
__deserializer: __D
) -> Result<Delete, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Delete, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Object for Delete
[src]
impl Object for Delete
impl ActivityExt for Delete
[src]
impl ActivityExt for Delete
fn props(&self) -> &ActivityProperties
[src]
fn props(&self) -> &ActivityProperties
fn props_mut(&mut self) -> &mut ActivityProperties
[src]
fn props_mut(&mut self) -> &mut ActivityProperties
impl Clone for Delete
[src]
impl Clone for Delete
fn clone(&self) -> Delete
[src]
fn clone(&self) -> Delete
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 Default for Delete
[src]
impl Default for Delete
impl ObjectExt for Delete
[src]
impl ObjectExt for Delete
fn props(&self) -> &ObjectProperties
[src]
fn props(&self) -> &ObjectProperties
fn props_mut(&mut self) -> &mut ObjectProperties
[src]
fn props_mut(&mut self) -> &mut ObjectProperties
impl Debug for Delete
[src]
impl Debug for Delete
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Serialize for Delete
[src]
impl Serialize for Delete
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Activity for Delete
[src]
impl Activity for Delete