pub struct ApiVersion {
pub version: Version,
pub release_date: DateTime<Utc>,
pub stability: StabilityLevel,
pub support_status: SupportStatus,
pub end_of_life: Option<DateTime<Utc>>,
pub features: BTreeSet<String>,
pub breakingchanges: Vec<String>,
pub new_features: Vec<String>,
pub bug_fixes: Vec<String>,
pub deprecated_features: Vec<String>,
pub min_clientversion: Option<Version>,
pub max_clientversion: Option<Version>,
}Expand description
API version information with metadata
Fields§
§version: VersionThe semantic version
release_date: DateTime<Utc>Release date
stability: StabilityLevelStability level
support_status: SupportStatusSupport status
end_of_life: Option<DateTime<Utc>>End of life date (if applicable)
features: BTreeSet<String>Feature flags supported in this version
breakingchanges: Vec<String>Breaking changes from previous version
new_features: Vec<String>New features in this version
bug_fixes: Vec<String>Bug fixes in this version
deprecated_features: Vec<String>Deprecated features in this version
min_clientversion: Option<Version>Minimum client version required
max_clientversion: Option<Version>Maximum client version supported
Trait Implementations§
Source§impl Clone for ApiVersion
impl Clone for ApiVersion
Source§fn clone(&self) -> ApiVersion
fn clone(&self) -> ApiVersion
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 ApiVersion
impl Debug for ApiVersion
Source§impl<'de> Deserialize<'de> for ApiVersion
impl<'de> Deserialize<'de> for ApiVersion
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
Source§impl PartialEq for ApiVersion
impl PartialEq for ApiVersion
Source§impl Serialize for ApiVersion
impl Serialize for ApiVersion
impl Eq for ApiVersion
impl StructuralPartialEq for ApiVersion
Auto Trait Implementations§
impl Freeze for ApiVersion
impl RefUnwindSafe for ApiVersion
impl Send for ApiVersion
impl Sync for ApiVersion
impl Unpin for ApiVersion
impl UnwindSafe for ApiVersion
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