pub struct CibouletteErrorRequest<'response> {
pub errors: CibouletteErrorObj<'response>,
pub meta: Option<Value>,
}Expand description
An outbound response, built from an inbound request.
Fields§
§errors: CibouletteErrorObj<'response>The body of the response.
meta: Option<Value>The status of the response
Implementations§
Source§impl<'response> CibouletteErrorRequest<'response>
impl<'response> CibouletteErrorRequest<'response>
Source§impl<'response> CibouletteErrorRequest<'response>
impl<'response> CibouletteErrorRequest<'response>
pub fn new(errors: CibouletteErrorObj<'response>, meta: Option<Value>) -> Self
Trait Implementations§
Source§impl<'response> Debug for CibouletteErrorRequest<'response>
impl<'response> Debug for CibouletteErrorRequest<'response>
Source§impl<'de, 'response> Deserialize<'de> for CibouletteErrorRequest<'response>
impl<'de, 'response> Deserialize<'de> for CibouletteErrorRequest<'response>
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<'response> Freeze for CibouletteErrorRequest<'response>
impl<'response> RefUnwindSafe for CibouletteErrorRequest<'response>
impl<'response> Send for CibouletteErrorRequest<'response>
impl<'response> Sync for CibouletteErrorRequest<'response>
impl<'response> Unpin for CibouletteErrorRequest<'response>
impl<'response> UnwindSafe for CibouletteErrorRequest<'response>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more