pub struct ErrorPresentation {
pub code: &'static str,
pub message: Cow<'static, str>,
pub recovery: UserRecovery,
}Fields§
§code: &'static str§message: Cow<'static, str>§recovery: UserRecoveryImplementations§
Trait Implementations§
Source§impl Clone for ErrorPresentation
impl Clone for ErrorPresentation
Source§fn clone(&self) -> ErrorPresentation
fn clone(&self) -> ErrorPresentation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ErrorPresentation
impl Debug for ErrorPresentation
Source§impl PartialEq for ErrorPresentation
impl PartialEq for ErrorPresentation
Source§fn eq(&self, other: &ErrorPresentation) -> bool
fn eq(&self, other: &ErrorPresentation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ErrorPresentation
impl Serialize for ErrorPresentation
impl Eq for ErrorPresentation
impl StructuralPartialEq for ErrorPresentation
Auto Trait Implementations§
impl Freeze for ErrorPresentation
impl RefUnwindSafe for ErrorPresentation
impl Send for ErrorPresentation
impl Sync for ErrorPresentation
impl Unpin for ErrorPresentation
impl UnsafeUnpin for ErrorPresentation
impl UnwindSafe for ErrorPresentation
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