pub enum PostTripsError {
Status400(Problem),
Status401(Problem),
Status403(Problem),
Status404(Problem),
Status406(Problem),
Status415(Problem),
Status500(Problem),
Status501(Problem),
Status503(Problem),
DefaultResponse(Problem),
UnknownValue(Value),
}Expand description
struct for typed errors of method post_trips
Variants§
Status400(Problem)
Status401(Problem)
Status403(Problem)
Status404(Problem)
Status406(Problem)
Status415(Problem)
Status500(Problem)
Status501(Problem)
Status503(Problem)
DefaultResponse(Problem)
UnknownValue(Value)
Trait Implementations§
Source§impl Clone for PostTripsError
impl Clone for PostTripsError
Source§fn clone(&self) -> PostTripsError
fn clone(&self) -> PostTripsError
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 PostTripsError
impl Debug for PostTripsError
Source§impl<'de> Deserialize<'de> for PostTripsError
impl<'de> Deserialize<'de> for PostTripsError
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 PostTripsError
impl RefUnwindSafe for PostTripsError
impl Send for PostTripsError
impl Sync for PostTripsError
impl Unpin for PostTripsError
impl UnwindSafe for PostTripsError
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