Struct activitystreams::activity::Leave [−][src]
pub struct Leave { pub kind: LeaveType, pub leave_props: ActorAndObject, pub object_props: ObjectProperties, pub activity_props: ActivityProperties, }
Indicates that the actor has left the object.
The target and origin typically have no meaning.
Fields
kind: LeaveType
leave_props: ActorAndObject
Adds all valid leave 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 Leave
[src]
impl<'de> Deserialize<'de> for Leave
fn deserialize<__D>(
__deserializer: __D
) -> Result<Leave, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Leave, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Object for Leave
[src]
impl Object for Leave
impl ActivityExt for Leave
[src]
impl ActivityExt for Leave
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 Leave
[src]
impl Clone for Leave
fn clone(&self) -> Leave
[src]
fn clone(&self) -> Leave
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 Leave
[src]
impl Default for Leave
impl ObjectExt for Leave
[src]
impl ObjectExt for Leave
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 Leave
[src]
impl Debug for Leave
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 Leave
[src]
impl Serialize for Leave
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 Leave
[src]
impl Activity for Leave