pub struct ErrorCategoryEntry {
pub id: String,
pub name: String,
pub description: String,
pub code_range: String,
}Expand description
Machine-readable error category entry.
Fields§
§id: StringCategory identifier.
name: StringHuman-readable name.
description: StringCategory description.
code_range: StringCode range (e.g., “001-099”).
Trait Implementations§
Source§impl Clone for ErrorCategoryEntry
impl Clone for ErrorCategoryEntry
Source§fn clone(&self) -> ErrorCategoryEntry
fn clone(&self) -> ErrorCategoryEntry
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 ErrorCategoryEntry
impl Debug for ErrorCategoryEntry
Source§impl<'de> Deserialize<'de> for ErrorCategoryEntry
impl<'de> Deserialize<'de> for ErrorCategoryEntry
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 ErrorCategoryEntry
impl RefUnwindSafe for ErrorCategoryEntry
impl Send for ErrorCategoryEntry
impl Sync for ErrorCategoryEntry
impl Unpin for ErrorCategoryEntry
impl UnsafeUnpin for ErrorCategoryEntry
impl UnwindSafe for ErrorCategoryEntry
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