Struct activitystreams::activity::Arrive
[−]
[src]
pub struct Arrive { pub kind: ArriveType, pub arrive_props: ActorAndOrigin, pub object_props: ObjectProperties, pub activity_props: ActivityProperties, }
An IntransitiveActivity that indicates that the actor has arrived at the location.
The origin can be used to identify the context from which the actor originated. The target typically has no defined meaning.
Fields
kind: ArriveType
arrive_props: ActorAndOrigin
Adds all valid arrive 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 Object for Arrive
[src]
impl<'de> Deserialize<'de> for Arrive
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Arrive, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Arrive, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl IntransitiveActivity for Arrive
[src]
impl Serialize for Arrive
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&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 Activity for Arrive
[src]
impl Clone for Arrive
[src]
fn clone(&self) -> Arrive
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Arrive
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more