pub struct Written {
pub elements: BTreeMap<String, WrittenElement>,
pub relations: BTreeMap<(String, String), WrittenRelation>,
}Expand description
The elements and relations of a written model. Ids are dotted and as the file writes them (LikeC4 identifiers); kinds are the keywords the specification declares.
Fields§
§elements: BTreeMap<String, WrittenElement>§relations: BTreeMap<(String, String), WrittenRelation>Keyed by source and target id: the survey records one relation per pair.
Trait Implementations§
impl Eq for Written
impl StructuralPartialEq for Written
Auto Trait Implementations§
impl Freeze for Written
impl RefUnwindSafe for Written
impl Send for Written
impl Sync for Written
impl Unpin for Written
impl UnsafeUnpin for Written
impl UnwindSafe for Written
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