coupling_role
Stable type · Document types
Tier: stable · Kind: type · Topic: Document types
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
| not exported | not exported | not exported | CouplingRole | CouplingRole |
Julia
Julia does not export this type.
TypeScript
TypeScript does not export this type.
Python
Python does not export this type.
Rust
pub struct CouplingRole {
pub description: Option<String>,
}
A coupling-library formal component role (esm-spec §10.9). Present only in
a coupling-library file’s top-level coupling_roles map; each entry carries
an optional human-readable description. Roles are formal parameters (names,
not types), bound to actual components at a coupling_import.
Go
type CouplingRole struct {
Description *string `json:"description,omitempty"`
}
CouplingRole is one entry in a coupling-library file’s coupling_roles map (esm-spec §10.9): a formal component role (a name, not a type), carrying an optional human-readable description. Roles are bound to actual components at a coupling_import (esm-spec §10.10).