pub struct CmmnCaseModel {Show 13 fields
pub workspace_id: String,
pub path: String,
pub summary: String,
pub description: String,
pub cmmn_xml: String,
pub schema: Option<Value>,
pub edited_by: String,
pub edited_at: String,
pub archived: bool,
pub extra_perms: HashMap<String, bool>,
pub draft_only: Option<bool>,
pub labels: Option<Vec<String>>,
pub version_id: i64,
}Expand description
CmmnCaseModel : A case model joined with its latest version — the get/{path} shape.
Fields§
§workspace_id: String§path: String§summary: String§description: String§cmmn_xml: StringThe CMMN 1.1 XML, byte-for-byte as deployed
schema: Option<Value>The case’s input schema, when the author declared one. Free-form here rather than a $ref: it is the same JSON-Schema-shaped object scripts and flows use, and it has no component of its own.
edited_by: String§edited_at: String§archived: bool§extra_perms: HashMap<String, bool>§draft_only: Option<bool>§labels: Option<Vec<String>>§version_id: i64The cmmn_case_model_version.id this response was read from. A running case pins this id, never the path — which is what makes a rename safe (#1343).
Implementations§
Source§impl CmmnCaseModel
impl CmmnCaseModel
Sourcepub fn new(
workspace_id: String,
path: String,
summary: String,
description: String,
cmmn_xml: String,
edited_by: String,
edited_at: String,
archived: bool,
extra_perms: HashMap<String, bool>,
version_id: i64,
) -> CmmnCaseModel
pub fn new( workspace_id: String, path: String, summary: String, description: String, cmmn_xml: String, edited_by: String, edited_at: String, archived: bool, extra_perms: HashMap<String, bool>, version_id: i64, ) -> CmmnCaseModel
A case model joined with its latest version — the get/{path} shape.
Trait Implementations§
Source§impl Clone for CmmnCaseModel
impl Clone for CmmnCaseModel
Source§fn clone(&self) -> CmmnCaseModel
fn clone(&self) -> CmmnCaseModel
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 CmmnCaseModel
impl Debug for CmmnCaseModel
Source§impl Default for CmmnCaseModel
impl Default for CmmnCaseModel
Source§fn default() -> CmmnCaseModel
fn default() -> CmmnCaseModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CmmnCaseModel
impl<'de> Deserialize<'de> for CmmnCaseModel
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 CmmnCaseModel
impl PartialEq for CmmnCaseModel
Source§impl Serialize for CmmnCaseModel
impl Serialize for CmmnCaseModel
impl StructuralPartialEq for CmmnCaseModel
Auto Trait Implementations§
impl Freeze for CmmnCaseModel
impl RefUnwindSafe for CmmnCaseModel
impl Send for CmmnCaseModel
impl Sync for CmmnCaseModel
impl Unpin for CmmnCaseModel
impl UnsafeUnpin for CmmnCaseModel
impl UnwindSafe for CmmnCaseModel
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