use fission::prelude::*;
let item = TimelineItem {
title: "Build finished".into(),
description: Some("All checks passed on main.".into()),
timestamp: Some("10:24".into()),
};
Field | Type | Meaning | Notes / default behavior |
|---|---|---|---|
title | String | Main event label. | Required. |
description | Option<String> | Supporting explanation below the title. | Defaults to None. |
timestamp | Option<String> | Optional time or date label. | Defaults to None. Format it upstream. |