pub struct QueryFailure {
pub status: u16,
pub reason: String,
pub message: String,
pub body: Value,
}Expand description
A stable, machine-readable workflow query or query-task settlement failure.
Fields§
§status: u16§reason: String§message: String§body: ValueTrait Implementations§
Source§impl Clone for QueryFailure
impl Clone for QueryFailure
Source§fn clone(&self) -> QueryFailure
fn clone(&self) -> QueryFailure
Returns a copy 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 QueryFailure
impl Debug for QueryFailure
Source§impl Display for QueryFailure
impl Display for QueryFailure
Source§impl Error for QueryFailure
impl Error for QueryFailure
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for QueryFailure
impl RefUnwindSafe for QueryFailure
impl Send for QueryFailure
impl Sync for QueryFailure
impl Unpin for QueryFailure
impl UnwindSafe for QueryFailure
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