pub struct GoalChartEntry {
pub actual_seconds: f64,
pub actual_seconds_text: String,
pub goal_seconds: f64,
pub goal_seconds_text: String,
pub range: GoalChartRange,
pub range_status: String,
pub range_status_reason: String,
}Expand description
One data point in a goal’s progress chart.
Fields§
§actual_seconds: f64Actual coding seconds logged during this period.
actual_seconds_text: StringHuman-readable actual coding time.
goal_seconds: f64Target coding seconds for this period.
goal_seconds_text: StringHuman-readable target coding time.
range: GoalChartRangeDate range this data point covers.
range_status: StringStatus for this period (e.g. "success", "fail").
range_status_reason: StringHuman-readable explanation of the status.
Trait Implementations§
Source§impl Clone for GoalChartEntry
impl Clone for GoalChartEntry
Source§fn clone(&self) -> GoalChartEntry
fn clone(&self) -> GoalChartEntry
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 GoalChartEntry
impl Debug for GoalChartEntry
Source§impl<'de> Deserialize<'de> for GoalChartEntry
impl<'de> Deserialize<'de> for GoalChartEntry
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 GoalChartEntry
impl RefUnwindSafe for GoalChartEntry
impl Send for GoalChartEntry
impl Sync for GoalChartEntry
impl Unpin for GoalChartEntry
impl UnsafeUnpin for GoalChartEntry
impl UnwindSafe for GoalChartEntry
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