Struct ciboulette::CibouletteErrorRequest[][src]

pub struct CibouletteErrorRequest<'response> {
    pub errors: CibouletteErrorObj<'response>,
    pub meta: Option<Value>,
}

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

impl<'response> CibouletteErrorRequest<'response>[src]

pub fn errors(&self) -> &CibouletteErrorObj<'response>[src]

The body of the response.

pub fn meta(&self) -> &Option<Value>[src]

The status of the response

impl<'response> CibouletteErrorRequest<'response>[src]

pub fn new(errors: CibouletteErrorObj<'response>, meta: Option<Value>) -> Self[src]

Trait Implementations

impl<'response> Debug for CibouletteErrorRequest<'response>[src]

impl<'de, 'response> Deserialize<'de> for CibouletteErrorRequest<'response>[src]

impl<'response> Serialize for CibouletteErrorRequest<'response>[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.