#[non_exhaustive]pub struct UpdateValidatorRejected {
pub status: u16,
pub workflow_id: Option<String>,
pub run_id: Option<String>,
pub update_name: Option<String>,
pub update_id: Option<String>,
pub message: String,
pub validation_errors: BTreeMap<String, Vec<String>>,
pub body: Value,
}Expand description
An update the Server rejected because the workflow’s validator refused it.
Nothing was accepted: the update handler did not run and workflow code
never saw the update. Read it with Error::update_validator_rejection.
body is the Server’s full answer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.status: u16§workflow_id: Option<String>§run_id: Option<String>§update_name: Option<String>§update_id: Option<String>§message: String§validation_errors: BTreeMap<String, Vec<String>>§body: ValueTrait Implementations§
Source§impl Clone for UpdateValidatorRejected
impl Clone for UpdateValidatorRejected
Source§fn clone(&self) -> UpdateValidatorRejected
fn clone(&self) -> UpdateValidatorRejected
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 UpdateValidatorRejected
impl Debug for UpdateValidatorRejected
Source§impl PartialEq for UpdateValidatorRejected
impl PartialEq for UpdateValidatorRejected
impl StructuralPartialEq for UpdateValidatorRejected
Auto Trait Implementations§
impl Freeze for UpdateValidatorRejected
impl RefUnwindSafe for UpdateValidatorRejected
impl Send for UpdateValidatorRejected
impl Sync for UpdateValidatorRejected
impl Unpin for UpdateValidatorRejected
impl UnwindSafe for UpdateValidatorRejected
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