pub struct ModelDiagnostic {
pub kind: DiagnosticKind,
pub message: String,
}Expand description
Safe model/dialect diagnostic.
Fields§
§kind: DiagnosticKindClassification.
message: StringBounded safe message (no secrets/raw bodies).
Trait Implementations§
Source§impl Clone for ModelDiagnostic
impl Clone for ModelDiagnostic
Source§fn clone(&self) -> ModelDiagnostic
fn clone(&self) -> ModelDiagnostic
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 ModelDiagnostic
impl Debug for ModelDiagnostic
Source§impl<'de> Deserialize<'de> for ModelDiagnostic
impl<'de> Deserialize<'de> for ModelDiagnostic
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
impl Eq for ModelDiagnostic
Source§impl PartialEq for ModelDiagnostic
impl PartialEq for ModelDiagnostic
Source§impl Serialize for ModelDiagnostic
impl Serialize for ModelDiagnostic
impl StructuralPartialEq for ModelDiagnostic
Auto Trait Implementations§
impl Freeze for ModelDiagnostic
impl RefUnwindSafe for ModelDiagnostic
impl Send for ModelDiagnostic
impl Sync for ModelDiagnostic
impl Unpin for ModelDiagnostic
impl UnsafeUnpin for ModelDiagnostic
impl UnwindSafe for ModelDiagnostic
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