pub struct ErrorCodeEntry {
pub code: String,
pub number: u16,
pub category: ErrorCategory,
pub message: String,
pub remediation: Vec<String>,
pub doc_url: Option<String>,
}Expand description
Machine-readable error code entry.
Fields§
§code: StringError code in RCH-Exxx format.
number: u16Numeric code (e.g., 100 for RCH-E100).
category: ErrorCategoryError category.
message: StringHuman-readable error message.
remediation: Vec<String>Remediation steps.
doc_url: Option<String>Documentation URL.
Trait Implementations§
Source§impl Clone for ErrorCodeEntry
impl Clone for ErrorCodeEntry
Source§fn clone(&self) -> ErrorCodeEntry
fn clone(&self) -> ErrorCodeEntry
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 ErrorCodeEntry
impl Debug for ErrorCodeEntry
Source§impl<'de> Deserialize<'de> for ErrorCodeEntry
impl<'de> Deserialize<'de> for ErrorCodeEntry
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 Freeze for ErrorCodeEntry
impl RefUnwindSafe for ErrorCodeEntry
impl Send for ErrorCodeEntry
impl Sync for ErrorCodeEntry
impl Unpin for ErrorCodeEntry
impl UnsafeUnpin for ErrorCodeEntry
impl UnwindSafe for ErrorCodeEntry
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