pub struct ErrorDirective {
pub code: Option<usize>,
pub message: Option<String>,
}Fields§
§code: Option<usize>§message: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ErrorDirective
impl Clone for ErrorDirective
Source§fn clone(&self) -> ErrorDirective
fn clone(&self) -> ErrorDirective
Returns a duplicate of the value. Read more
1.0.0 · 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 ErrorDirective
impl Debug for ErrorDirective
Source§impl Default for ErrorDirective
impl Default for ErrorDirective
Source§fn default() -> ErrorDirective
fn default() -> ErrorDirective
Returns the “default value” for a type. Read more
Source§impl From<ErrorDirective> for CodamaDirective
impl From<ErrorDirective> for CodamaDirective
Source§fn from(value: ErrorDirective) -> Self
fn from(value: ErrorDirective) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ErrorDirective
impl PartialEq for ErrorDirective
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a ErrorDirective
impl<'a> TryFrom<&'a Attribute<'a>> for &'a ErrorDirective
Source§impl<'a> TryFrom<&'a CodamaAttribute<'a>> for &'a ErrorDirective
impl<'a> TryFrom<&'a CodamaAttribute<'a>> for &'a ErrorDirective
Source§type Error = CodamaError
type Error = CodamaError
The type returned in the event of a conversion error.
impl StructuralPartialEq for ErrorDirective
Auto Trait Implementations§
impl Freeze for ErrorDirective
impl RefUnwindSafe for ErrorDirective
impl Send for ErrorDirective
impl Sync for ErrorDirective
impl Unpin for ErrorDirective
impl UnwindSafe for ErrorDirective
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