pub struct Invite {
pub kind: InviteType,
pub invite_props: InviteProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}
Expand description
A specialization of Offer in which the actor is extending an invitation for the object to the target.
Fields§
§kind: InviteType
§invite_props: InviteProperties
Adds all valid invite 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§
Source§impl ActivityExt for Invite
impl ActivityExt for Invite
fn props(&self) -> &ActivityProperties
fn props_mut(&mut self) -> &mut ActivityProperties
Source§impl<'de> Deserialize<'de> for Invite
impl<'de> Deserialize<'de> for Invite
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 Invite
impl ObjectExt for Invite
fn props(&self) -> &ObjectProperties
fn props_mut(&mut self) -> &mut ObjectProperties
impl Activity for Invite
impl Object for Invite
Auto Trait Implementations§
impl Freeze for Invite
impl RefUnwindSafe for Invite
impl Send for Invite
impl Sync for Invite
impl Unpin for Invite
impl UnwindSafe for Invite
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