pub struct DeprecationStatus {
pub version: Version,
pub phase: DeprecationPhase,
pub announced_date: DateTime<Utc>,
pub end_of_life_date: DateTime<Utc>,
pub actual_end_of_life: Option<DateTime<Utc>>,
pub reason: DeprecationReason,
pub replacement_version: Option<Version>,
pub migration_guide: Option<String>,
pub support_level: SupportLevel,
pub usage_metrics: Option<UsageMetrics>,
}
Expand description
Deprecation status for a version
Fields§
§version: Version
Version being deprecated
phase: DeprecationPhase
Current deprecation phase
announced_date: DateTime<Utc>
Deprecation announcement date
end_of_life_date: DateTime<Utc>
Planned end of life date
actual_end_of_life: Option<DateTime<Utc>>
Actual end of life date (if reached)
reason: DeprecationReason
Reason for deprecation
replacement_version: Option<Version>
Recommended replacement version
migration_guide: Option<String>
Migration guide URL or content
support_level: SupportLevel
Support level during deprecation
usage_metrics: Option<UsageMetrics>
Usage metrics at time of deprecation
Trait Implementations§
Source§impl Clone for DeprecationStatus
impl Clone for DeprecationStatus
Source§fn clone(&self) -> DeprecationStatus
fn clone(&self) -> DeprecationStatus
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 moreSource§impl Debug for DeprecationStatus
impl Debug for DeprecationStatus
Source§impl<'de> Deserialize<'de> for DeprecationStatus
impl<'de> Deserialize<'de> for DeprecationStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeprecationStatus
impl RefUnwindSafe for DeprecationStatus
impl Send for DeprecationStatus
impl Sync for DeprecationStatus
impl Unpin for DeprecationStatus
impl UnwindSafe for DeprecationStatus
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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