pub struct Delta {
pub capability: String,
pub path: String,
pub text: String,
pub purpose: bool,
pub requirements: Vec<Requirement>,
pub renames: Vec<Rename>,
}Expand description
One delta file.
Fields§
§capability: StringThe capability, from the path between specs/ and /spec.md.
path: StringThe file, relative to the project root.
text: StringThe whole file.
purpose: boolIt has a ## Purpose section.
requirements: Vec<Requirement>ADDED, MODIFIED and REMOVED requirements, in file order.
renames: Vec<Rename>RENAMED pairs.
Trait Implementations§
impl Eq for Delta
impl StructuralPartialEq for Delta
Auto Trait Implementations§
impl Freeze for Delta
impl RefUnwindSafe for Delta
impl Send for Delta
impl Sync for Delta
impl Unpin for Delta
impl UnsafeUnpin for Delta
impl UnwindSafe for Delta
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