pub struct JobErrorData {
pub code: String,
pub message: String,
pub details: Option<Box<Value>>,
pub retryable: Option<bool>,
}Expand description
Structured job error payload returned by the API.
Fields§
§code: StringStable error code.
message: StringHuman-readable error message.
details: Option<Box<Value>>Optional structured details returned by the API.
retryable: Option<bool>Whether the failure is marked retryable by the API.
Trait Implementations§
Source§impl Clone for JobErrorData
impl Clone for JobErrorData
Source§fn clone(&self) -> JobErrorData
fn clone(&self) -> JobErrorData
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 moreAuto Trait Implementations§
impl Freeze for JobErrorData
impl RefUnwindSafe for JobErrorData
impl Send for JobErrorData
impl Sync for JobErrorData
impl Unpin for JobErrorData
impl UnsafeUnpin for JobErrorData
impl UnwindSafe for JobErrorData
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