pub struct ElementBase {
pub id: String,
pub name: Option<String>,
pub documentation: Option<String>,
}Expand description
Base element properties
Fields§
§id: String§name: Option<String>§documentation: Option<String>Implementations§
Source§impl ElementBase
impl ElementBase
pub fn from_json(base: BpmnJsonElementBase) -> Self
Trait Implementations§
Source§impl Clone for ElementBase
impl Clone for ElementBase
Source§fn clone(&self) -> ElementBase
fn clone(&self) -> ElementBase
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 moreAuto Trait Implementations§
impl Freeze for ElementBase
impl RefUnwindSafe for ElementBase
impl Send for ElementBase
impl Sync for ElementBase
impl Unpin for ElementBase
impl UnsafeUnpin for ElementBase
impl UnwindSafe for ElementBase
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