pub struct TraceDiagnostic {
pub code: &'static str,
pub message: &'static str,
}Fields§
§code: &'static str§message: &'static strTrait Implementations§
Source§impl Clone for TraceDiagnostic
impl Clone for TraceDiagnostic
Source§fn clone(&self) -> TraceDiagnostic
fn clone(&self) -> TraceDiagnostic
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 TraceDiagnostic
impl Debug for TraceDiagnostic
impl Eq for TraceDiagnostic
Source§impl PartialEq for TraceDiagnostic
impl PartialEq for TraceDiagnostic
Source§fn eq(&self, other: &TraceDiagnostic) -> bool
fn eq(&self, other: &TraceDiagnostic) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TraceDiagnostic
impl Serialize for TraceDiagnostic
impl StructuralPartialEq for TraceDiagnostic
Auto Trait Implementations§
impl Freeze for TraceDiagnostic
impl RefUnwindSafe for TraceDiagnostic
impl Send for TraceDiagnostic
impl Sync for TraceDiagnostic
impl Unpin for TraceDiagnostic
impl UnsafeUnpin for TraceDiagnostic
impl UnwindSafe for TraceDiagnostic
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.