pub struct CodeExplanation {
pub code: String,
pub namespace: CodeNamespace,
pub name: String,
pub category: String,
pub description: String,
pub remediation: Vec<String>,
pub requires_restart: Option<bool>,
pub doc_url: Option<String>,
}Expand description
Resolved lookup result for either namespace. Produced by lookup.
Fields§
§code: String§namespace: CodeNamespace§name: String§category: String§description: String§remediation: Vec<String>§requires_restart: Option<bool>Only meaningful for reliability codes. None for error codes
where the concept doesn’t apply.
doc_url: Option<String>Optional documentation link. Currently only populated for some
ErrorCode entries that supply a doc_url.
Trait Implementations§
Source§impl Clone for CodeExplanation
impl Clone for CodeExplanation
Source§fn clone(&self) -> CodeExplanation
fn clone(&self) -> CodeExplanation
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 CodeExplanation
impl Debug for CodeExplanation
Source§impl<'de> Deserialize<'de> for CodeExplanation
impl<'de> Deserialize<'de> for CodeExplanation
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 CodeExplanation
impl RefUnwindSafe for CodeExplanation
impl Send for CodeExplanation
impl Sync for CodeExplanation
impl Unpin for CodeExplanation
impl UnsafeUnpin for CodeExplanation
impl UnwindSafe for CodeExplanation
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