Struct activitystreams_types::activity::Travel [−][src]
pub struct Travel {
pub kind: TravelType,
pub travel_props: TravelProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}Indicates that the actor is traveling to target from origin.
Travel is an IntransitiveObject whose actor specifies the direct object. If the target or origin are not specified, either can be determined by context.
Fields
kind: TravelType
travel_props: TravelProperties
Adds all valid travel 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 Clone for Travel[src]
impl Clone for Travelfn clone(&self) -> Travel[src]
fn clone(&self) -> TravelReturns 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 Debug for Travel[src]
impl Debug for Travelfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Travel[src]
impl Default for Travelimpl Object for Travel[src]
impl Object for Travelimpl ObjectExt for Travel[src]
impl ObjectExt for Travelfn props(&self) -> &ObjectProperties[src]
fn props(&self) -> &ObjectPropertiesfn props_mut(&mut self) -> &mut ObjectProperties[src]
fn props_mut(&mut self) -> &mut ObjectPropertiesimpl Activity for Travel[src]
impl Activity for Travelimpl ActivityExt for Travel[src]
impl ActivityExt for Travelfn props(&self) -> &ActivityProperties[src]
fn props(&self) -> &ActivityPropertiesfn props_mut(&mut self) -> &mut ActivityProperties[src]
fn props_mut(&mut self) -> &mut ActivityPropertiesimpl IntransitiveActivity for Travel[src]
impl IntransitiveActivity for Travel