pub struct Accept {
pub kind: AcceptType,
pub accept_props: AcceptProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}Expand description
Indicates that the actor accepts the object.
The target property can be used in certain circumstances to indicate the context into which the object has been accepted.
Fields§
§kind: AcceptType§accept_props: AcceptPropertiesAdds all valid accept 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 Accept
impl ActivityExt for Accept
fn props(&self) -> &ActivityProperties
fn props_mut(&mut self) -> &mut ActivityProperties
Source§impl<'de> Deserialize<'de> for Accept
impl<'de> Deserialize<'de> for Accept
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 Accept
impl ObjectExt for Accept
fn props(&self) -> &ObjectProperties
fn props_mut(&mut self) -> &mut ObjectProperties
impl Activity for Accept
impl Object for Accept
Auto Trait Implementations§
impl Freeze for Accept
impl RefUnwindSafe for Accept
impl Send for Accept
impl Sync for Accept
impl Unpin for Accept
impl UnwindSafe for Accept
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