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§
Source§impl<'request> CibouletteErrorObj<'request>
impl<'request> CibouletteErrorObj<'request>
pub fn id(&self) -> &Option<Cow<'request, str>>
pub fn links(&self) -> &Option<CibouletteErrorLink<'request>>
pub fn status(&self) -> &u64
pub fn code(&self) -> &Option<Cow<'request, str>>
pub fn title(&self) -> &Option<Cow<'request, str>>
pub fn detail(&self) -> &Option<Cow<'request, str>>
pub fn source(&self) -> &Option<CibouletteErrorSource<'request>>
Source§impl<'request> CibouletteErrorObj<'request>
impl<'request> CibouletteErrorObj<'request>
pub fn id_mut(&mut self) -> &mut Option<Cow<'request, str>>
pub fn links_mut(&mut self) -> &mut Option<CibouletteErrorLink<'request>>
pub fn status_mut(&mut self) -> &mut u64
pub fn code_mut(&mut self) -> &mut Option<Cow<'request, str>>
pub fn title_mut(&mut self) -> &mut Option<Cow<'request, str>>
pub fn detail_mut(&mut self) -> &mut Option<Cow<'request, str>>
pub fn source_mut(&mut self) -> &mut Option<CibouletteErrorSource<'request>>
Trait Implementations§
Source§impl<'request> Clone for CibouletteErrorObj<'request>
impl<'request> Clone for CibouletteErrorObj<'request>
Source§fn clone(&self) -> CibouletteErrorObj<'request>
fn clone(&self) -> CibouletteErrorObj<'request>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'request> Debug for CibouletteErrorObj<'request>
impl<'request> Debug for CibouletteErrorObj<'request>
Source§impl<'request> Default for CibouletteErrorObj<'request>
impl<'request> Default for CibouletteErrorObj<'request>
Source§fn default() -> CibouletteErrorObj<'request>
fn default() -> CibouletteErrorObj<'request>
Returns the “default value” for a type. Read more
Source§impl<'de, 'request> Deserialize<'de> for CibouletteErrorObj<'request>
impl<'de, 'request> Deserialize<'de> for CibouletteErrorObj<'request>
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<'request> Freeze for CibouletteErrorObj<'request>
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§
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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