Struct activitystreams::activity::Travel [] [src]

pub struct Travel {
    pub kind: TravelType,
    pub travel_props: ActorOptOriginAndTarget,
    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

Adds all valid travel properties to this struct

Adds all valid object properties to this struct

Adds all valid activity properties to this struct

Trait Implementations

impl Object for Travel
[src]

impl<'de> Deserialize<'de> for Travel
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl IntransitiveActivity for Travel
[src]

impl Serialize for Travel
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl Activity for Travel
[src]

impl Clone for Travel
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Travel
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Travel
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Travel

impl Sync for Travel