pub enum ResponseStatus {
Ok,
InvalidUrl,
InvalidService,
InvalidVersion,
InvalidOptions,
InvalidQuery,
InvalidValue,
NoSegment,
TooBig,
}Variants§
Ok
Request could be processed as expected.
InvalidUrl
URL string is invalid.
InvalidService
Service name is invalid.
InvalidVersion
Version is not found.
InvalidOptions
Options are invalid.
InvalidQuery
The query string is synctactically malformed.
InvalidValue
The successfully parsed query parameters are invalid.
NoSegment
One of the supplied input coordinates could not snap to street segment.
TooBig
The request size violates one of the service specific request size restrictions.
Trait Implementations§
Source§impl Debug for ResponseStatus
impl Debug for ResponseStatus
Source§impl<'de> Deserialize<'de> for ResponseStatus
impl<'de> Deserialize<'de> for ResponseStatus
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 ResponseStatus
impl RefUnwindSafe for ResponseStatus
impl Send for ResponseStatus
impl Sync for ResponseStatus
impl Unpin for ResponseStatus
impl UnwindSafe for ResponseStatus
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