pub struct BasicErrorMessage {
pub error: String,
pub help: Option<String>,
}Fields§
§error: String§help: Option<String>Trait Implementations§
Source§impl Clone for BasicErrorMessage
impl Clone for BasicErrorMessage
Source§fn clone(&self) -> BasicErrorMessage
fn clone(&self) -> BasicErrorMessage
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 BasicErrorMessage
impl Debug for BasicErrorMessage
Source§impl PartialEq for BasicErrorMessage
impl PartialEq for BasicErrorMessage
Source§fn eq(&self, other: &BasicErrorMessage) -> bool
fn eq(&self, other: &BasicErrorMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BasicErrorMessage
impl StructuralPartialEq for BasicErrorMessage
Auto Trait Implementations§
impl Freeze for BasicErrorMessage
impl RefUnwindSafe for BasicErrorMessage
impl Send for BasicErrorMessage
impl Sync for BasicErrorMessage
impl Unpin for BasicErrorMessage
impl UnsafeUnpin for BasicErrorMessage
impl UnwindSafe for BasicErrorMessage
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