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: u64
code: Option<Cow<'request, str>>
title: Option<Cow<'request, str>>
detail: Option<Cow<'request, str>>
source: Option<CibouletteErrorSource<'request>>
Implementations
impl<'request> CibouletteErrorObj<'request>
[src]
impl<'request> CibouletteErrorObj<'request>
[src]pub fn id(&self) -> &Option<Cow<'request, str>>
[src]
pub fn links(&self) -> &Option<CibouletteErrorLink<'request>>
[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]
impl<'request> CibouletteErrorObj<'request>
[src]pub fn id_mut(&mut self) -> &mut Option<Cow<'request, str>>
[src]
pub fn links_mut(&mut self) -> &mut Option<CibouletteErrorLink<'request>>
[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> Clone for CibouletteErrorObj<'request>
[src]fn clone(&self) -> CibouletteErrorObj<'request>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'request> Debug for CibouletteErrorObj<'request>
[src]
impl<'request> Debug for CibouletteErrorObj<'request>
[src]impl<'request> Default for CibouletteErrorObj<'request>
[src]
impl<'request> Default for CibouletteErrorObj<'request>
[src]fn default() -> CibouletteErrorObj<'request>
[src]
impl<'de, 'request> Deserialize<'de> for CibouletteErrorObj<'request>
[src]
impl<'de, 'request> Deserialize<'de> for CibouletteErrorObj<'request>
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'request> Serialize for CibouletteErrorObj<'request>
[src]
impl<'request> Serialize for CibouletteErrorObj<'request>
[src]Auto Trait Implementations
impl<'request> RefUnwindSafe for CibouletteErrorObj<'request>
impl<'request> RefUnwindSafe for CibouletteErrorObj<'request>
impl<'request> Send for CibouletteErrorObj<'request>
impl<'request> Send for CibouletteErrorObj<'request>
impl<'request> Sync for CibouletteErrorObj<'request>
impl<'request> Sync for CibouletteErrorObj<'request>
impl<'request> Unpin for CibouletteErrorObj<'request>
impl<'request> Unpin for CibouletteErrorObj<'request>
impl<'request> UnwindSafe for CibouletteErrorObj<'request>
impl<'request> UnwindSafe for CibouletteErrorObj<'request>
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]