pub struct AtlasComponent {Show 14 fields
pub name: String,
pub purpose: String,
pub implementation: Vec<String>,
pub implementation_paths: Vec<String>,
pub symbols: Vec<String>,
pub consumes: Vec<String>,
pub produces: Vec<String>,
pub upstream: Vec<String>,
pub downstream: Vec<String>,
pub failure_behavior: Vec<String>,
pub owns: Vec<AtlasOwnershipClaim>,
pub layer: String,
pub parent: Option<String>,
pub role: String,
}Expand description
One architectural component in the atlas. Purpose is the highest-ranked responsibility claim; consumes/produces come from data-flow edges; upstream/downstream from dependency edges; retry/failure from extracted failure behavior.
Fields§
§name: String§purpose: String§implementation: Vec<String>Implementation facts: directory paths AND member symbol names (the
component compiler’s implementation attribute carries both). The
structured model exposes the full fact layer; the rendered atlas
shows only AtlasComponent::implementation_paths to stay compact.
implementation_paths: Vec<String>The directory-path subset of implementation — the compact view the
rendered ARCHITECTURE block and IMPLEMENTATION MAP use.
symbols: Vec<String>Member symbols attributed to the component (compile-time fact).
consumes: Vec<String>§produces: Vec<String>§upstream: Vec<String>§downstream: Vec<String>§failure_behavior: Vec<String>§owns: Vec<AtlasOwnershipClaim>§layer: StringArchitectural layer assigned by the hierarchy clusterer:
code_region | component | subsystem | service.
parent: Option<String>Immediate container entity id (subsystem/service) for merged
members; None for unmerged leaves.
role: StringRepository role from implementation paths: production (default),
test, fixture, benchmark, example, or mixed. Lets renders
scope non-production trees as structure, never production.
Trait Implementations§
Source§impl Clone for AtlasComponent
impl Clone for AtlasComponent
Source§impl Debug for AtlasComponent
impl Debug for AtlasComponent
Source§impl<'de> Deserialize<'de> for AtlasComponent
impl<'de> Deserialize<'de> for AtlasComponent
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>,
Source§impl JsonSchema for AtlasComponent
impl JsonSchema for AtlasComponent
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more