pub struct WorkflowCommandRejection {
pub command: WorkflowCommandKind,
pub status: u16,
pub reason: String,
pub message: String,
pub workflow_id: String,
pub run_id: Option<String>,
pub target_scope: Option<String>,
pub body: Value,
}Expand description
A stable rejection returned by instance- or selected-run lifecycle commands.
Fields§
§command: WorkflowCommandKind§status: u16§reason: String§message: String§workflow_id: String§run_id: Option<String>§target_scope: Option<String>§body: ValueTrait Implementations§
Source§impl Clone for WorkflowCommandRejection
impl Clone for WorkflowCommandRejection
Source§fn clone(&self) -> WorkflowCommandRejection
fn clone(&self) -> WorkflowCommandRejection
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 moreSource§impl Debug for WorkflowCommandRejection
impl Debug for WorkflowCommandRejection
Source§impl Display for WorkflowCommandRejection
impl Display for WorkflowCommandRejection
Source§impl Error for WorkflowCommandRejection
impl Error for WorkflowCommandRejection
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 WorkflowCommandRejection
impl RefUnwindSafe for WorkflowCommandRejection
impl Send for WorkflowCommandRejection
impl Sync for WorkflowCommandRejection
impl Unpin for WorkflowCommandRejection
impl UnsafeUnpin for WorkflowCommandRejection
impl UnwindSafe for WorkflowCommandRejection
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