pub struct ContractSummary {
pub id: String,
pub version: String,
pub kind: String,
pub mode: String,
pub idl: String,
pub description: String,
pub toml_path: PathBuf,
}Expand description
Lightweight per-contract view for documentation generation. Built from the same TOML parse + directory walk as proto generation, so the docs reference can’t drift from what codegen / atlas actually read.
Fields§
§id: String§version: String§kind: String§mode: String§idl: String§description: StringDocumentation-only meaning of this abstract contract.
toml_path: PathBufAbsolute path to the source .v1.toml.
Auto Trait Implementations§
impl Freeze for ContractSummary
impl RefUnwindSafe for ContractSummary
impl Send for ContractSummary
impl Sync for ContractSummary
impl Unpin for ContractSummary
impl UnsafeUnpin for ContractSummary
impl UnwindSafe for ContractSummary
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