pub struct BpmnValidationRequest {
pub bpmn_xml: String,
pub path: Option<String>,
}Expand description
BpmnValidationRequest : A document to check without committing it (#1560). Nothing is stored.
Fields§
§bpmn_xml: StringThe BPMN 2.0 XML to check, as a string.
path: Option<String>The workspace path this document is destined for, if you have one. Used only for the scope check – no row is read or written under it, and a path that does not exist yet is fine. Omit it and the check is "any path", which is honest: the answer does not depend on one.
Implementations§
Source§impl BpmnValidationRequest
impl BpmnValidationRequest
Sourcepub fn new(bpmn_xml: String) -> BpmnValidationRequest
pub fn new(bpmn_xml: String) -> BpmnValidationRequest
A document to check without committing it (#1560). Nothing is stored.
Trait Implementations§
Source§impl Clone for BpmnValidationRequest
impl Clone for BpmnValidationRequest
Source§impl Debug for BpmnValidationRequest
impl Debug for BpmnValidationRequest
Source§impl Default for BpmnValidationRequest
impl Default for BpmnValidationRequest
Source§impl<'de> Deserialize<'de> for BpmnValidationRequest
impl<'de> Deserialize<'de> for BpmnValidationRequest
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 BpmnValidationRequest
impl PartialEq for BpmnValidationRequest
Source§impl Serialize for BpmnValidationRequest
impl Serialize for BpmnValidationRequest
impl StructuralPartialEq for BpmnValidationRequest
Auto Trait Implementations§
impl Freeze for BpmnValidationRequest
impl RefUnwindSafe for BpmnValidationRequest
impl Send for BpmnValidationRequest
impl Sync for BpmnValidationRequest
impl Unpin for BpmnValidationRequest
impl UnsafeUnpin for BpmnValidationRequest
impl UnwindSafe for BpmnValidationRequest
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