pub struct Leave {
pub kind: LeaveType,
pub leave_props: LeaveProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}Expand description
Indicates that the actor has left the object.
The target and origin typically have no meaning.
Fields§
§kind: LeaveType§leave_props: LeavePropertiesAdds all valid leave properties to this struct
object_props: ObjectPropertiesAdds all valid object properties to this struct
activity_props: ActivityPropertiesAdds all valid activity properties to this struct
Trait Implementations§
Source§impl ActivityExt for Leave
impl ActivityExt for Leave
fn props(&self) -> &ActivityProperties
fn props_mut(&mut self) -> &mut ActivityProperties
Source§impl<'de> Deserialize<'de> for Leave
impl<'de> Deserialize<'de> for Leave
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ObjectExt for Leave
impl ObjectExt for Leave
fn props(&self) -> &ObjectProperties
fn props_mut(&mut self) -> &mut ObjectProperties
impl Activity for Leave
impl Object for Leave
Auto Trait Implementations§
impl Freeze for Leave
impl RefUnwindSafe for Leave
impl Send for Leave
impl Sync for Leave
impl Unpin for Leave
impl UnwindSafe for Leave
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more