pub struct Travel {
pub kind: TravelType,
pub travel_props: TravelProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}Expand description
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: TravelPropertiesAdds all valid travel 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 Travel
impl ActivityExt for Travel
fn props(&self) -> &ActivityProperties
fn props_mut(&mut self) -> &mut ActivityProperties
Source§impl<'de> Deserialize<'de> for Travel
impl<'de> Deserialize<'de> for Travel
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 Travel
impl ObjectExt for Travel
fn props(&self) -> &ObjectProperties
fn props_mut(&mut self) -> &mut ObjectProperties
impl Activity for Travel
impl IntransitiveActivity for Travel
impl Object for Travel
Auto Trait Implementations§
impl Freeze for Travel
impl RefUnwindSafe for Travel
impl Send for Travel
impl Sync for Travel
impl Unpin for Travel
impl UnwindSafe for Travel
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