pub struct HumanErrorReport {
pub code: String,
pub message: String,
pub hint: Option<String>,
pub causes: Vec<HumanErrorCause>,
}Fields§
§code: String§message: String§hint: Option<String>§causes: Vec<HumanErrorCause>Trait Implementations§
Source§impl Clone for HumanErrorReport
impl Clone for HumanErrorReport
Source§fn clone(&self) -> HumanErrorReport
fn clone(&self) -> HumanErrorReport
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 HumanErrorReport
impl Debug for HumanErrorReport
impl Eq for HumanErrorReport
Source§impl PartialEq for HumanErrorReport
impl PartialEq for HumanErrorReport
Source§fn eq(&self, other: &HumanErrorReport) -> bool
fn eq(&self, other: &HumanErrorReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HumanErrorReport
Auto Trait Implementations§
impl Freeze for HumanErrorReport
impl RefUnwindSafe for HumanErrorReport
impl Send for HumanErrorReport
impl Sync for HumanErrorReport
impl Unpin for HumanErrorReport
impl UnsafeUnpin for HumanErrorReport
impl UnwindSafe for HumanErrorReport
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