pub struct BpmnValidationProblem {
pub error: String,
pub issues: Vec<BpmnValidationIssue>,
}Expand description
BpmnValidationProblem : A rejected BPMN deploy. issues carries every problem found, not just the first, so one round trip is enough to fix them all; warnings found alongside the errors are included with severity: warning.
Fields§
§error: StringA readable summary, for a client that reads one field.
issues: Vec<BpmnValidationIssue>Empty for a parse failure — the document never became a model, so there is no element to anchor to.
Implementations§
Source§impl BpmnValidationProblem
impl BpmnValidationProblem
Sourcepub fn new(
error: String,
issues: Vec<BpmnValidationIssue>,
) -> BpmnValidationProblem
pub fn new( error: String, issues: Vec<BpmnValidationIssue>, ) -> BpmnValidationProblem
A rejected BPMN deploy. issues carries every problem found, not just the first, so one round trip is enough to fix them all; warnings found alongside the errors are included with severity: warning.
Trait Implementations§
Source§impl Clone for BpmnValidationProblem
impl Clone for BpmnValidationProblem
Source§fn clone(&self) -> BpmnValidationProblem
fn clone(&self) -> BpmnValidationProblem
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 BpmnValidationProblem
impl Debug for BpmnValidationProblem
Source§impl Default for BpmnValidationProblem
impl Default for BpmnValidationProblem
Source§fn default() -> BpmnValidationProblem
fn default() -> BpmnValidationProblem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BpmnValidationProblem
impl<'de> Deserialize<'de> for BpmnValidationProblem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BpmnValidationProblem
impl PartialEq for BpmnValidationProblem
Source§impl Serialize for BpmnValidationProblem
impl Serialize for BpmnValidationProblem
impl StructuralPartialEq for BpmnValidationProblem
Auto Trait Implementations§
impl Freeze for BpmnValidationProblem
impl RefUnwindSafe for BpmnValidationProblem
impl Send for BpmnValidationProblem
impl Sync for BpmnValidationProblem
impl Unpin for BpmnValidationProblem
impl UnsafeUnpin for BpmnValidationProblem
impl UnwindSafe for BpmnValidationProblem
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