pub struct RivetErrorSchema {
pub group: &'static str,
pub code: &'static str,
pub default_message: &'static str,
pub meta_type: Option<&'static str>,
pub _macro_marker: MacroMarker,
}Expand description
Can only be created through the rivet_error macro.
Fields§
§group: &'static str§code: &'static str§default_message: &'static str§meta_type: Option<&'static str>§_macro_marker: MacroMarkerPrivate marker that ensures this was created by the macro
Implementations§
Trait Implementations§
Source§impl Debug for RivetErrorSchema
impl Debug for RivetErrorSchema
Source§impl From<&'static RivetErrorSchema> for RivetError
impl From<&'static RivetErrorSchema> for RivetError
Source§fn from(value: &'static RivetErrorSchema) -> Self
fn from(value: &'static RivetErrorSchema) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RivetErrorSchema
impl RefUnwindSafe for RivetErrorSchema
impl Send for RivetErrorSchema
impl Sync for RivetErrorSchema
impl Unpin for RivetErrorSchema
impl UnsafeUnpin for RivetErrorSchema
impl UnwindSafe for RivetErrorSchema
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