pub struct CompatibilityMatrix {
pub versions: Vec<VersionEntry>,
}Expand description
The version compatibility matrix for OxiRS.
Fields§
§versions: Vec<VersionEntry>All known OxiRS releases, ordered from oldest to newest.
Implementations§
Source§impl CompatibilityMatrix
impl CompatibilityMatrix
Sourcepub fn oxirs_history() -> Self
pub fn oxirs_history() -> Self
Returns the canonical OxiRS release history.
Sourcepub fn lts_releases(&self) -> Vec<&VersionEntry>
pub fn lts_releases(&self) -> Vec<&VersionEntry>
Returns only LTS releases from the history.
Sourcepub fn supported_releases(&self) -> Vec<&VersionEntry>
pub fn supported_releases(&self) -> Vec<&VersionEntry>
Returns only currently supported releases.
Sourcepub fn latest(&self) -> Option<&VersionEntry>
pub fn latest(&self) -> Option<&VersionEntry>
Returns the latest release entry, if any.
Sourcepub fn find_version(&self, version: &str) -> Option<&VersionEntry>
pub fn find_version(&self, version: &str) -> Option<&VersionEntry>
Finds a release by exact version string.
Sourcepub fn releases_with_breaking_changes(&self) -> Vec<&VersionEntry>
pub fn releases_with_breaking_changes(&self) -> Vec<&VersionEntry>
Returns all releases that introduced at least one breaking change.
Sourcepub fn releases_with_deprecations(&self) -> Vec<&VersionEntry>
pub fn releases_with_deprecations(&self) -> Vec<&VersionEntry>
Returns all releases that deprecated at least one API.
Sourcepub fn generate_report(&self) -> String
pub fn generate_report(&self) -> String
Generates a Markdown compatibility report.
Trait Implementations§
Source§impl Debug for CompatibilityMatrix
impl Debug for CompatibilityMatrix
Auto Trait Implementations§
impl Freeze for CompatibilityMatrix
impl RefUnwindSafe for CompatibilityMatrix
impl Send for CompatibilityMatrix
impl Sync for CompatibilityMatrix
impl Unpin for CompatibilityMatrix
impl UnsafeUnpin for CompatibilityMatrix
impl UnwindSafe for CompatibilityMatrix
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more