Struct google_jobs3::api::CommuteInfo
source · pub struct CommuteInfo {
pub job_location: Option<Location>,
pub travel_duration: Option<Duration>,
}
Expand description
Output only. Commute details related to this job.
This type is not used in any activity, and only used as part of another schema.
Fields§
§job_location: Option<Location>
Location used as the destination in the commute calculation.
travel_duration: Option<Duration>
The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job is not reachable within the requested duration, but was returned as part of an expanded query.
Trait Implementations§
source§impl Clone for CommuteInfo
impl Clone for CommuteInfo
source§fn clone(&self) -> CommuteInfo
fn clone(&self) -> CommuteInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommuteInfo
impl Debug for CommuteInfo
source§impl Default for CommuteInfo
impl Default for CommuteInfo
source§fn default() -> CommuteInfo
fn default() -> CommuteInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CommuteInfo
impl<'de> Deserialize<'de> for CommuteInfo
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 Serialize for CommuteInfo
impl Serialize for CommuteInfo
impl Part for CommuteInfo
Auto Trait Implementations§
impl RefUnwindSafe for CommuteInfo
impl Send for CommuteInfo
impl Sync for CommuteInfo
impl Unpin for CommuteInfo
impl UnwindSafe for CommuteInfo
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