pub struct ReleaseDate {
pub release_id: ReleaseId,
pub release_name: Option<String>,
pub date: NaiveDate,
}Expand description
A single scheduled or historical release date, from the
fred/releases/dates and fred/release/dates endpoints — the date a
release was (or is scheduled to be) published.
Fields§
§release_id: ReleaseIdThe release this date belongs to.
release_name: Option<String>The release’s name. releases/dates (which spans every release)
includes it; release/dates omits it, since the release is already
fixed by the request.
date: NaiveDateThe date the release was, or is scheduled to be, published.
Trait Implementations§
Source§impl Clone for ReleaseDate
impl Clone for ReleaseDate
Source§fn clone(&self) -> ReleaseDate
fn clone(&self) -> ReleaseDate
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 ReleaseDate
impl Debug for ReleaseDate
Source§impl<'de> Deserialize<'de> for ReleaseDate
impl<'de> Deserialize<'de> for ReleaseDate
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
impl Eq for ReleaseDate
Source§impl PartialEq for ReleaseDate
impl PartialEq for ReleaseDate
Source§fn eq(&self, other: &ReleaseDate) -> bool
fn eq(&self, other: &ReleaseDate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReleaseDate
impl Serialize for ReleaseDate
impl StructuralPartialEq for ReleaseDate
Auto Trait Implementations§
impl Freeze for ReleaseDate
impl RefUnwindSafe for ReleaseDate
impl Send for ReleaseDate
impl Sync for ReleaseDate
impl Unpin for ReleaseDate
impl UnsafeUnpin for ReleaseDate
impl UnwindSafe for ReleaseDate
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