pub struct DoctorIssue {
pub code: String,
pub severity: Severity,
pub message: String,
pub service: Option<String>,
}Expand description
One diagnostic finding.
Fields§
§code: StringStable machine-readable id for the issue variant.
severity: Severity§message: StringFull human-readable message, including the suggested fix (byte-for-byte
what ryra doctor prints).
service: Option<String>The service this issue is scoped to, when service-specific.
Trait Implementations§
Source§impl Clone for DoctorIssue
impl Clone for DoctorIssue
Source§fn clone(&self) -> DoctorIssue
fn clone(&self) -> DoctorIssue
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 DoctorIssue
impl Debug for DoctorIssue
Source§impl<'de> Deserialize<'de> for DoctorIssue
impl<'de> Deserialize<'de> for DoctorIssue
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 DoctorIssue
impl RefUnwindSafe for DoctorIssue
impl Send for DoctorIssue
impl Sync for DoctorIssue
impl Unpin for DoctorIssue
impl UnsafeUnpin for DoctorIssue
impl UnwindSafe for DoctorIssue
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