pub struct CalendarDay {
pub date: String,
pub value: Option<f64>,
}Expand description
One day of a calendar heatmap.
Fields§
§date: StringISO 8601 date such as 2024-03-01.
value: Option<f64>null leaves the day empty, like an absent day.
Trait Implementations§
Source§impl Clone for CalendarDay
impl Clone for CalendarDay
Source§impl Debug for CalendarDay
impl Debug for CalendarDay
Source§impl<'de> Deserialize<'de> for CalendarDay
impl<'de> Deserialize<'de> for CalendarDay
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 CalendarDay
impl RefUnwindSafe for CalendarDay
impl Send for CalendarDay
impl Sync for CalendarDay
impl Unpin for CalendarDay
impl UnsafeUnpin for CalendarDay
impl UnwindSafe for CalendarDay
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