pub struct GoalChartRange {
pub date: Option<String>,
pub end: String,
pub start: String,
pub text: String,
pub timezone: String,
}Expand description
Date range metadata for a GoalChartEntry.
Fields§
§date: Option<String>Calendar date (e.g. "2025-01-13"). Only present when delta is "day".
end: StringISO 8601 end timestamp.
start: StringISO 8601 start timestamp.
text: StringHuman-readable description (e.g. "Mon, Jan 13").
timezone: StringIANA timezone used when computing the range.
Trait Implementations§
Source§impl Clone for GoalChartRange
impl Clone for GoalChartRange
Source§fn clone(&self) -> GoalChartRange
fn clone(&self) -> GoalChartRange
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 GoalChartRange
impl Debug for GoalChartRange
Source§impl<'de> Deserialize<'de> for GoalChartRange
impl<'de> Deserialize<'de> for GoalChartRange
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 GoalChartRange
impl RefUnwindSafe for GoalChartRange
impl Send for GoalChartRange
impl Sync for GoalChartRange
impl Unpin for GoalChartRange
impl UnsafeUnpin for GoalChartRange
impl UnwindSafe for GoalChartRange
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