pub(crate) struct SharedUnitData {
pub name: CapeStringImpl,
pub validation_status: CapeValidationStatus,
pub dirty: bool,
}Expand description
The SharedUnitData struct holds common data for the distillation shortcut unit.
Each distillation shortcut unit contains a single instance of SharedUnitData that holds
information such as the unit’s name and validation status. This data is shared across
all components of the unit, including ports, collections, and parameters.
Fields§
§name: CapeStringImplThe name of the distillation shortcut unit; used by various components for formatting the error source name.
validation_status: CapeValidationStatusThe validation status of the distillation shortcut unit; used by various components to flag the unit as not validated.
dirty: boolTrait Implementations§
Auto Trait Implementations§
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