pub struct SpecChange {
pub version: BidsVersion,
pub summary: &'static str,
pub new_entities: &'static [&'static str],
pub new_datatypes: &'static [&'static str],
pub new_suffixes: &'static [&'static str],
pub deprecated_entities: &'static [&'static str],
pub breaking: bool,
}Expand description
Structured record of what changed between two BIDS spec versions.
Used by CHANGELOG to drive automated migration and validation.
When bumping the supported BIDS version, add a new entry describing
what changed so the library can:
- Warn about deprecated features
- Recognize new entities/datatypes
- Validate against the correct rules
Fields§
§version: BidsVersionThe version that introduced this change.
summary: &'static strHuman-readable summary.
new_entities: &'static [&'static str]New entities added in this version (if any).
new_datatypes: &'static [&'static str]New datatypes added (if any).
new_suffixes: &'static [&'static str]New suffixes added (if any).
deprecated_entities: &'static [&'static str]Entities deprecated or removed (if any).
breaking: boolBreaking changes that require code updates.
Trait Implementations§
Source§impl Clone for SpecChange
impl Clone for SpecChange
Source§fn clone(&self) -> SpecChange
fn clone(&self) -> SpecChange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SpecChange
impl RefUnwindSafe for SpecChange
impl Send for SpecChange
impl Sync for SpecChange
impl Unpin for SpecChange
impl UnsafeUnpin for SpecChange
impl UnwindSafe for SpecChange
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