pub struct DeltaSpecification {
pub added: Vec<Requirement>,
pub modified: Vec<Requirement>,
pub removed: Vec<String>,
pub renamed: Vec<Rename>,
pub presence: SectionPresence,
}Expand description
A parsed delta specification (the content of one delta-spec note).
Fields§
§added: Vec<Requirement>Requirements under ## ADDED Requirements.
modified: Vec<Requirement>Requirements under ## MODIFIED Requirements.
removed: Vec<String>Requirement names under ## REMOVED Requirements.
renamed: Vec<Rename>Rename pairs under ## RENAMED Requirements.
presence: SectionPresenceWhich delta sections appear in the source.
Trait Implementations§
Source§impl Clone for DeltaSpecification
impl Clone for DeltaSpecification
Source§fn clone(&self) -> DeltaSpecification
fn clone(&self) -> DeltaSpecification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeltaSpecification
impl Debug for DeltaSpecification
Source§impl Default for DeltaSpecification
impl Default for DeltaSpecification
Source§fn default() -> DeltaSpecification
fn default() -> DeltaSpecification
Returns the “default value” for a type. Read more
impl Eq for DeltaSpecification
Source§impl PartialEq for DeltaSpecification
impl PartialEq for DeltaSpecification
impl StructuralPartialEq for DeltaSpecification
Auto Trait Implementations§
impl Freeze for DeltaSpecification
impl RefUnwindSafe for DeltaSpecification
impl Send for DeltaSpecification
impl Sync for DeltaSpecification
impl Unpin for DeltaSpecification
impl UnsafeUnpin for DeltaSpecification
impl UnwindSafe for DeltaSpecification
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