pub enum ApiChange {
Breaking(String),
Additive(String),
None,
}Expand description
How a package’s public API changed between two releases.
Variants§
Breaking(String)
A public declaration was removed, or its signature changed — a consumer pinned to the old version can break. Requires a major bump.
Additive(String)
Only additions (new public declarations); existing ones unchanged. Requires at least a minor bump.
None
No public-API change (bodies may still differ). A patch suffices.
Trait Implementations§
impl Eq for ApiChange
impl StructuralPartialEq for ApiChange
Auto Trait Implementations§
impl Freeze for ApiChange
impl RefUnwindSafe for ApiChange
impl Send for ApiChange
impl Sync for ApiChange
impl Unpin for ApiChange
impl UnsafeUnpin for ApiChange
impl UnwindSafe for ApiChange
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.