pub struct DiagnosticCodeOwned {
pub namespace: String,
pub code: String,
}Expand description
An owned, exact diagnostic code captured for one occurrence.
Fields§
§namespace: String§code: StringImplementations§
Trait Implementations§
Source§impl Clone for DiagnosticCodeOwned
impl Clone for DiagnosticCodeOwned
Source§impl Debug for DiagnosticCodeOwned
impl Debug for DiagnosticCodeOwned
impl Eq for DiagnosticCodeOwned
Source§impl From<DiagnosticCodeRef<'_>> for DiagnosticCodeOwned
impl From<DiagnosticCodeRef<'_>> for DiagnosticCodeOwned
Source§fn from(code: DiagnosticCodeRef<'_>) -> Self
fn from(code: DiagnosticCodeRef<'_>) -> Self
Converts to this type from the input type.
Source§impl Hash for DiagnosticCodeOwned
impl Hash for DiagnosticCodeOwned
Source§impl PartialEq for DiagnosticCodeOwned
impl PartialEq for DiagnosticCodeOwned
impl StructuralPartialEq for DiagnosticCodeOwned
Auto Trait Implementations§
impl Forget for DiagnosticCodeOwned
impl Freeze for DiagnosticCodeOwned
impl Move for DiagnosticCodeOwned
impl RefUnwindSafe for DiagnosticCodeOwned
impl Send for DiagnosticCodeOwned
impl Sync for DiagnosticCodeOwned
impl Unpin for DiagnosticCodeOwned
impl UnsafeUnpin for DiagnosticCodeOwned
impl UnwindSafe for DiagnosticCodeOwned
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