pub struct ErrorFields {
pub message: String,
pub task: String,
pub instance: String,
pub status: Option<Value>,
pub title: Option<String>,
pub detail: Option<String>,
pub original_type: Option<String>,
}Expand description
Common fields shared by all workflow error types
Fields§
§message: String§task: String§instance: String§status: Option<Value>§title: Option<String>§detail: Option<String>§original_type: Option<String>Trait Implementations§
Source§impl Clone for ErrorFields
impl Clone for ErrorFields
Source§fn clone(&self) -> ErrorFields
fn clone(&self) -> ErrorFields
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 moreAuto Trait Implementations§
impl Freeze for ErrorFields
impl RefUnwindSafe for ErrorFields
impl Send for ErrorFields
impl Sync for ErrorFields
impl Unpin for ErrorFields
impl UnsafeUnpin for ErrorFields
impl UnwindSafe for ErrorFields
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