pub struct Change {
pub id: String,
pub dir: String,
pub schema: String,
pub proposal: Option<String>,
pub design: Option<String>,
pub deltas: Vec<Delta>,
}Expand description
A change’s files, read.
Fields§
§id: StringIts id (directory name).
dir: Stringopenspec/changes/<id>, relative to the root.
schema: StringThe change’s schema (its .openspec.yaml, else the project’s).
proposal: Option<String>proposal.md, if present.
design: Option<String>design.md, if present.
deltas: Vec<Delta>Its spec deltas, by capability.
Trait Implementations§
impl Eq for Change
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Change
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