pub struct FallbackInfo {
pub routing_mode: Option<FallbackRoutingMode>,
pub reason: Option<FallbackReason>,
}Expand description
Information related to how and why a fallback result was used. See https://developers.google.com/maps/documentation/routes/reference/rest/v2/FallbackInfo
Fields§
§routing_mode: Option<FallbackRoutingMode>§reason: Option<FallbackReason>Trait Implementations§
Source§impl Clone for FallbackInfo
impl Clone for FallbackInfo
Source§fn clone(&self) -> FallbackInfo
fn clone(&self) -> FallbackInfo
Returns a duplicate 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 FallbackInfo
impl Debug for FallbackInfo
Source§impl<'de> Deserialize<'de> for FallbackInfo
impl<'de> Deserialize<'de> for FallbackInfo
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
Auto Trait Implementations§
impl Freeze for FallbackInfo
impl RefUnwindSafe for FallbackInfo
impl Send for FallbackInfo
impl Sync for FallbackInfo
impl Unpin for FallbackInfo
impl UnwindSafe for FallbackInfo
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