pub struct ErrorDescription {
pub spec_section: String,
pub message: String,
}Expand description
Spec §11.4 — error.description-String mit kanonischem
<spec-section>: <human-text>-Format.
Fields§
§spec_section: String<spec-section> (z.B. §7.2.1.3 oder Annex D §D.4.1).
message: StringMensch-lesbarer Text (Englisch; Spec verlangt ASCII-only nicht, aber die OMG-Konvention ist Englisch).
Implementations§
Trait Implementations§
Source§impl Clone for ErrorDescription
impl Clone for ErrorDescription
Source§fn clone(&self) -> ErrorDescription
fn clone(&self) -> ErrorDescription
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 ErrorDescription
impl Debug for ErrorDescription
Source§impl Display for ErrorDescription
impl Display for ErrorDescription
Source§impl PartialEq for ErrorDescription
impl PartialEq for ErrorDescription
Source§fn eq(&self, other: &ErrorDescription) -> bool
fn eq(&self, other: &ErrorDescription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ErrorDescription
impl StructuralPartialEq for ErrorDescription
Auto Trait Implementations§
impl Freeze for ErrorDescription
impl RefUnwindSafe for ErrorDescription
impl Send for ErrorDescription
impl Sync for ErrorDescription
impl Unpin for ErrorDescription
impl UnsafeUnpin for ErrorDescription
impl UnwindSafe for ErrorDescription
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