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
Implementations§
Trait Implementations§
Source§impl AsMut<ActivityProperties> for Leave
impl AsMut<ActivityProperties> for Leave
Source§fn as_mut(&mut self) -> &mut ActivityProperties
fn as_mut(&mut self) -> &mut ActivityProperties
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ActorAndObjectProperties> for Leave
impl AsMut<ActorAndObjectProperties> for Leave
Source§fn as_mut(&mut self) -> &mut LeaveProperties
fn as_mut(&mut self) -> &mut LeaveProperties
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ObjectProperties> for Leave
impl AsMut<ObjectProperties> for Leave
Source§fn as_mut(&mut self) -> &mut ObjectProperties
fn as_mut(&mut self) -> &mut ObjectProperties
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<ActivityProperties> for Leave
impl AsRef<ActivityProperties> for Leave
Source§fn as_ref(&self) -> &ActivityProperties
fn as_ref(&self) -> &ActivityProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ActorAndObjectProperties> for Leave
impl AsRef<ActorAndObjectProperties> for Leave
Source§fn as_ref(&self) -> &LeaveProperties
fn as_ref(&self) -> &LeaveProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ObjectProperties> for Leave
impl AsRef<ObjectProperties> for Leave
Source§fn as_ref(&self) -> &ObjectProperties
fn as_ref(&self) -> &ObjectProperties
Converts this type into a shared reference of the (usually inferred) input type.
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 TryFrom<Leave> for ActivityBox
impl TryFrom<Leave> for ActivityBox
impl Activity for Leave
impl Base 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 UnsafeUnpin 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