pub struct RustRelease {
pub version: String,
pub date: String,
pub channel: String,
}Expand description
Rust release information.
Core data model shared by database, fetcher, and app modules. No dependency on any other business module to avoid circular dependencies.
Fields§
§version: StringRelease version string (e.g. “1.75.0”, “1.76.0-nightly”)
date: StringRelease date in YYYY-MM-DD format
channel: StringRelease channel: “stable”, “beta”, or “nightly”
Trait Implementations§
Source§impl Clone for RustRelease
impl Clone for RustRelease
Source§fn clone(&self) -> RustRelease
fn clone(&self) -> RustRelease
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RustRelease
impl Debug for RustRelease
Source§impl<'de> Deserialize<'de> for RustRelease
impl<'de> Deserialize<'de> for RustRelease
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 RustRelease
impl RefUnwindSafe for RustRelease
impl Send for RustRelease
impl Sync for RustRelease
impl Unpin for RustRelease
impl UnsafeUnpin for RustRelease
impl UnwindSafe for RustRelease
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