pub struct RuntimeError {
pub code: Option<String>,
pub message: Option<String>,
}Expand description
Message containing a runtime error config.
This type is not used in any activity, and only used as part of another schema.
Fields§
§code: Option<String>The enumerated Lighthouse Error code.
message: Option<String>A human readable message explaining the error code.
Trait Implementations§
Source§impl Clone for RuntimeError
impl Clone for RuntimeError
Source§fn clone(&self) -> RuntimeError
fn clone(&self) -> RuntimeError
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 RuntimeError
impl Debug for RuntimeError
Source§impl Default for RuntimeError
impl Default for RuntimeError
Source§fn default() -> RuntimeError
fn default() -> RuntimeError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeError
impl<'de> Deserialize<'de> for RuntimeError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for RuntimeError
impl Serialize for RuntimeError
impl Part for RuntimeError
Auto Trait Implementations§
impl Freeze for RuntimeError
impl RefUnwindSafe for RuntimeError
impl Send for RuntimeError
impl Sync for RuntimeError
impl Unpin for RuntimeError
impl UnwindSafe for RuntimeError
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