Struct activitystreams::activity::Accept [−][src]
pub struct Accept { pub kind: AcceptType, pub accept_props: ActorAndObject, pub object_props: ObjectProperties, pub activity_props: ActivityProperties, }
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: ActorAndObject
Adds all valid accept 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 Activity for Accept
[src]
impl Activity for Accept
impl<'de> Deserialize<'de> for Accept
[src]
impl<'de> Deserialize<'de> for Accept
fn deserialize<__D>(
__deserializer: __D
) -> Result<Accept, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Accept, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for Accept
[src]
impl Serialize for Accept
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 ActivityExt for Accept
[src]
impl ActivityExt for Accept
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 Accept
[src]
impl Clone for Accept
fn clone(&self) -> Accept
[src]
fn clone(&self) -> Accept
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 Accept
[src]
impl Default for Accept
impl Debug for Accept
[src]
impl Debug for Accept
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 ObjectExt for Accept
[src]
impl ObjectExt for Accept
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 Object for Accept
[src]
impl Object for Accept