pub enum ComponentKind {
Person,
Frontend,
Service,
Database,
Queue,
Storage,
Cache,
Security,
External,
Node,
Artifact,
}Expand description
What a component is; every kind has its own shape.
Variants§
Person
Someone who uses the system: a box with a head on top.
Frontend
What a person sees, such as a web or mobile app: a box with a window bar.
Service
A service, an application or a function: a box.
Database
A database: a cylinder.
Queue
A queue, a topic or an event stream: a box with a stack behind it.
Storage
File or object storage: a bucket.
Cache
A cache: a hexagon.
Security
A security component, such as an identity provider, a firewall or a vault: a shield.
External
A system outside the scope: a dashed box.
Node
A machine, a virtual machine or a cluster node that runs other components: a box seen from a corner.
Artifact
Something that is deployed, such as an image, a package or a file: a box with a folded corner.
Trait Implementations§
Source§impl Clone for ComponentKind
impl Clone for ComponentKind
impl Copy for ComponentKind
Source§impl Debug for ComponentKind
impl Debug for ComponentKind
Source§impl Default for ComponentKind
impl Default for ComponentKind
Source§impl<'de> Deserialize<'de> for ComponentKind
impl<'de> Deserialize<'de> for ComponentKind
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 ComponentKind
Source§impl PartialEq for ComponentKind
impl PartialEq for ComponentKind
Source§impl Serialize for ComponentKind
impl Serialize for ComponentKind
impl StructuralPartialEq for ComponentKind
Auto Trait Implementations§
impl Freeze for ComponentKind
impl RefUnwindSafe for ComponentKind
impl Send for ComponentKind
impl Sync for ComponentKind
impl Unpin for ComponentKind
impl UnsafeUnpin for ComponentKind
impl UnwindSafe for ComponentKind
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