pub struct ApiVersion {
pub date: String,
pub name: Option<String>,
}Expand description
A date-based API version: YYYY-MM-DD with an optional release name, as in 2027-01-15.atlas.
Versions compare by date; the name is a label for the release the version belongs to.
Fields§
§date: StringThe date, YYYY-MM-DD.
name: Option<String>The release name, such as atlas.
Implementations§
Trait Implementations§
Source§impl Clone for ApiVersion
impl Clone for ApiVersion
Source§impl Debug for ApiVersion
impl Debug for ApiVersion
Source§impl Display for ApiVersion
impl Display for ApiVersion
impl Eq for ApiVersion
Source§impl Hash for ApiVersion
impl Hash for ApiVersion
Source§impl PartialEq for ApiVersion
impl PartialEq for ApiVersion
impl StructuralPartialEq for ApiVersion
Auto Trait Implementations§
impl Forget for ApiVersion
impl Freeze for ApiVersion
impl Move for ApiVersion
impl RefUnwindSafe for ApiVersion
impl Send for ApiVersionwhere
RawVecInner: Send,
impl Sync for ApiVersionwhere
RawVecInner: Sync,
impl Unpin for ApiVersion
impl UnsafeUnpin for ApiVersion
impl UnwindSafe for ApiVersionwhere
RawVecInner: UnwindSafe,
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
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.