[−][src]Enum google_maps::directions::request::departure_time::DepartureTime
The desired departure time for the route. The departure time must be set to the current time or some time in the future. It cannot be in the past.
Variants
You can specify a value of now, which sets the departure time to the current time (correct to the nearest second).
Specifies the desired time of departure.
Methods
impl DepartureTime
[src]
pub fn source_code_print(&self) -> String
[src]
Converts a DepartureTime
enum to a String
that contains a pretty
source-code-style departure
time
code for debugging.
Trait Implementations
impl Clone for DepartureTime
[src]
fn clone(&self) -> DepartureTime
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DepartureTime
[src]
impl<'_> From<&'_ DepartureTime> for String
[src]
fn from(departure_time: &DepartureTime) -> String
[src]
Converts a DepartureTime
enum to a String
that contains a departure
time.
Auto Trait Implementations
impl RefUnwindSafe for DepartureTime
impl Send for DepartureTime
impl Sync for DepartureTime
impl Unpin for DepartureTime
impl UnwindSafe for DepartureTime
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,