Struct ciboulette::CibouletteErrorObj[][src]

pub struct CibouletteErrorObj<'request> {
    pub id: Option<Cow<'request, str>>,
    pub links: Option<CibouletteErrorLink<'request>>,
    pub status: u64,
    pub code: Option<Cow<'request, str>>,
    pub title: Option<Cow<'request, str>>,
    pub detail: Option<Cow<'request, str>>,
    pub source: Option<CibouletteErrorSource<'request>>,
}

Fields

id: Option<Cow<'request, str>>links: Option<CibouletteErrorLink<'request>>status: u64code: Option<Cow<'request, str>>title: Option<Cow<'request, str>>detail: Option<Cow<'request, str>>source: Option<CibouletteErrorSource<'request>>

Implementations

impl<'request> CibouletteErrorObj<'request>[src]

pub fn id(&self) -> &Option<Cow<'request, str>>[src]

pub fn status(&self) -> &u64[src]

pub fn code(&self) -> &Option<Cow<'request, str>>[src]

pub fn title(&self) -> &Option<Cow<'request, str>>[src]

pub fn detail(&self) -> &Option<Cow<'request, str>>[src]

pub fn source(&self) -> &Option<CibouletteErrorSource<'request>>[src]

impl<'request> CibouletteErrorObj<'request>[src]

pub fn id_mut(&mut self) -> &mut Option<Cow<'request, str>>[src]

pub fn status_mut(&mut self) -> &mut u64[src]

pub fn code_mut(&mut self) -> &mut Option<Cow<'request, str>>[src]

pub fn title_mut(&mut self) -> &mut Option<Cow<'request, str>>[src]

pub fn detail_mut(&mut self) -> &mut Option<Cow<'request, str>>[src]

pub fn source_mut(&mut self) -> &mut Option<CibouletteErrorSource<'request>>[src]

Trait Implementations

impl<'request> Clone for CibouletteErrorObj<'request>[src]

impl<'request> Debug for CibouletteErrorObj<'request>[src]

impl<'request> Default for CibouletteErrorObj<'request>[src]

impl<'de, 'request> Deserialize<'de> for CibouletteErrorObj<'request>[src]

impl<'request> Serialize for CibouletteErrorObj<'request>[src]

Auto Trait Implementations

impl<'request> RefUnwindSafe for CibouletteErrorObj<'request>

impl<'request> Send for CibouletteErrorObj<'request>

impl<'request> Sync for CibouletteErrorObj<'request>

impl<'request> Unpin for CibouletteErrorObj<'request>

impl<'request> UnwindSafe for CibouletteErrorObj<'request>

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.