Struct dsntk_model::DmnEdge
source · pub struct DmnEdge {
pub id: Option<String>,
pub way_points: Vec<DcPoint>,
pub dmn_element_ref: Option<String>,
pub source_element: Option<String>,
pub target_element: Option<String>,
pub shared_style: Option<String>,
pub local_style: Option<DmnStyle>,
pub label: Option<DmnLabel>,
}Fields§
§id: Option<String>§way_points: Vec<DcPoint>A list of points relative to the origin of its parent DmnDiagram that specifies the connected line segments of the edge. At least two (2) waypoints MUST be specified.
dmn_element_ref: Option<String>A reference to a InformationRequirement, KnowledgeRequirement, AuthorityRequirement or an Association, MUST be specified.
source_element: Option<String>The actual DmnDiagramElement this DmnEdge is connecting from. MUST be specified when the DmnEdge has a source.
target_element: Option<String>The actual DmnDiagramElement this DmnEdge is connecting to. MUST be specified when the DmnEdge has a target.
local_style: Option<DmnStyle>A DmnStyle that defines the styling for this element.
label: Option<DmnLabel>An optional label when this DmnElement has a visible text label.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DmnEdge
impl Send for DmnEdge
impl Sync for DmnEdge
impl Unpin for DmnEdge
impl UnwindSafe for DmnEdge
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