pub struct EngineDescriptor {
pub key: &'static str,
pub label: &'static str,
pub pill: &'static str,
pub accent: &'static str,
pub summary: &'static str,
}Expand description
Immutable identity of one Hydra engine (spec §2.1).
key and the label/pill pair are two deliberately separate naming
systems: the key carries the accurate domain umbrella and never changes
once released (it is persisted in project metadata and report
templates); the label carries the familiar practitioner term and may be
revised between releases.
Fields§
§key: &'static strStable machine identifier: lowercase ASCII domain-umbrella
abbreviation (wds, uds, och).
label: &'static strHuman-facing product name (e.g. “Water Distribution”).
pill: &'static strTwo-character uppercase badge (e.g. “WD”).
accent: &'static strBrand color for this engine, #rrggbb.
summary: &'static strOne-sentence description of the engine’s domain. Plain text.
Trait Implementations§
Source§impl Clone for EngineDescriptor
impl Clone for EngineDescriptor
Source§fn clone(&self) -> EngineDescriptor
fn clone(&self) -> EngineDescriptor
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 moreimpl Copy for EngineDescriptor
Source§impl Debug for EngineDescriptor
impl Debug for EngineDescriptor
impl Eq for EngineDescriptor
Source§impl PartialEq for EngineDescriptor
impl PartialEq for EngineDescriptor
Source§impl Serialize for EngineDescriptor
impl Serialize for EngineDescriptor
impl StructuralPartialEq for EngineDescriptor
Auto Trait Implementations§
impl Freeze for EngineDescriptor
impl RefUnwindSafe for EngineDescriptor
impl Send for EngineDescriptor
impl Sync for EngineDescriptor
impl Unpin for EngineDescriptor
impl UnsafeUnpin for EngineDescriptor
impl UnwindSafe for EngineDescriptor
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