pub struct External {
pub id: String,
pub kind: String,
pub title: String,
pub technology: Option<String>,
pub description: Option<String>,
pub relations: Vec<ExternalRelation>,
}Expand description
Something outside the code that a module talks to: a spawned process, a browser, a service. Nothing static says it exists, so the config does.
Fields§
§id: StringA LikeC4 identifier; must not collide with a generated id.
kind: StringThe LikeC4 element kind (process, browser, …).
title: String§technology: Option<String>§description: Option<String>§relations: Vec<ExternalRelation>Trait Implementations§
Source§impl<'de> Deserialize<'de> for External
impl<'de> Deserialize<'de> for External
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
impl Eq for External
impl StructuralPartialEq for External
Auto Trait Implementations§
impl Freeze for External
impl RefUnwindSafe for External
impl Send for External
impl Sync for External
impl Unpin for External
impl UnsafeUnpin for External
impl UnwindSafe for External
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