Struct json_errors::json_errors::JsonErrors
source · Tuple Fields
0: Vec<JsonError>
1: Status
Trait Implementations
sourceimpl Debug for JsonErrors
impl Debug for JsonErrors
sourceimpl Display for JsonErrors
impl Display for JsonErrors
sourceimpl From<Error> for JsonErrors
impl From<Error> for JsonErrors
sourcefn from(err: Error) -> JsonErrors
fn from(err: Error) -> JsonErrors
Converts to this type from the input type.
sourceimpl<'b> From<JsonError> for JsonErrors
impl<'b> From<JsonError> for JsonErrors
sourcefn from(err: JsonError) -> JsonErrors
fn from(err: JsonError) -> JsonErrors
Converts to this type from the input type.
sourceimpl PartialEq<JsonErrors> for JsonErrors
impl PartialEq<JsonErrors> for JsonErrors
sourcefn eq(&self, other: &JsonErrors) -> bool
fn eq(&self, other: &JsonErrors) -> bool
sourceimpl<'r> Responder<'r> for JsonErrors
impl<'r> Responder<'r> for JsonErrors
sourcefn respond_to(self, req: &Request<'_>) -> Result<'r>
fn respond_to(self, req: &Request<'_>) -> Result<'r>
Returns
Ok
if a Response
could be generated successfully. Otherwise,
returns an Err
with a failing Status
. Read moreimpl StructuralPartialEq for JsonErrors
Auto Trait Implementations
impl RefUnwindSafe for JsonErrors
impl Send for JsonErrors
impl Sync for JsonErrors
impl Unpin for JsonErrors
impl UnwindSafe for JsonErrors
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
Converts
self
into a collection.fn mapped<U, F, A>(self, f: F) -> SmallVec<A>where
F: FnMut(T) -> U,
A: Array<Item = U>,
sourceimpl<T> IntoSql for T
impl<T> IntoSql for T
sourcefn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
Convert
self
to an expression for Diesel’s query builder. Read moresourcefn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more