pub struct Figure {
pub label: Option<String>,
pub period: Option<String>,
pub value: Option<String>,
}Fields§
§label: Option<String>Label names the metric, e.g. "MRR" or "Runway".
period: Option<String>Period is the window the figure covers, e.g. "2026-07" or "all-time".
value: Option<String>Value is the figure already formatted through books’ own money formatter, so a consumer never re-derives it.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Figure
impl<'de> Deserialize<'de> for Figure
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 StructuralPartialEq for Figure
Auto Trait Implementations§
impl Freeze for Figure
impl RefUnwindSafe for Figure
impl Send for Figure
impl Sync for Figure
impl Unpin for Figure
impl UnsafeUnpin for Figure
impl UnwindSafe for Figure
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