Skip to main content

AtlasComponent

Struct AtlasComponent 

Source
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: String

Architectural 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: String

Repository 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

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AtlasComponent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for AtlasComponent

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl JsonSchema for AtlasComponent

Source§

fn schema_name() -> Cow<'static, str>

The name of the generated JSON Schema. Read more
Source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
Source§

fn inline_schema() -> bool

Whether JSON Schemas generated for this type should be included directly in parent schemas, rather than being re-used where possible using the $ref keyword. Read more
Source§

impl Serialize for AtlasComponent

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.