pub struct ErrorIdentity {
pub code: String,
pub category: ErrorCategory,
pub reason: String,
pub detail: Option<String>,
pub position: Option<String>,
pub want: Option<String>,
pub path: Option<String>,
}Expand description
Identity-first snapshot view.
This view keeps code and category available for governance, testing,
policy decisions, and protocol projections without changing the stable
snapshot export contract.
Fields§
§code: String§category: ErrorCategory§reason: String§detail: Option<String>§position: Option<String>§want: Option<String>§path: Option<String>Trait Implementations§
Source§impl Clone for ErrorIdentity
impl Clone for ErrorIdentity
Source§fn clone(&self) -> ErrorIdentity
fn clone(&self) -> ErrorIdentity
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 Debug for ErrorIdentity
impl Debug for ErrorIdentity
Source§impl PartialEq for ErrorIdentity
impl PartialEq for ErrorIdentity
impl Eq for ErrorIdentity
impl StructuralPartialEq for ErrorIdentity
Auto Trait Implementations§
impl Freeze for ErrorIdentity
impl RefUnwindSafe for ErrorIdentity
impl Send for ErrorIdentity
impl Sync for ErrorIdentity
impl Unpin for ErrorIdentity
impl UnsafeUnpin for ErrorIdentity
impl UnwindSafe for ErrorIdentity
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