pub struct TimelineEvent {
pub actor: Option<User>,
pub kind: TimelineEventKind,
pub summary: String,
pub at: Option<DateTime<Utc>>,
}Expand description
A single event on a pull request or work item (a review, a merge, a state change, an assignment, …), assembled from whatever the provider’s timeline / activity / history API exposes. Ordered oldest → newest.
Fields§
§actor: Option<User>§kind: TimelineEventKind§summary: StringHuman-readable one-liner, e.g. “approved”, “changed status to In Progress”, “merged”.
at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for TimelineEvent
impl Clone for TimelineEvent
Source§impl Debug for TimelineEvent
impl Debug for TimelineEvent
Source§impl<'de> Deserialize<'de> for TimelineEvent
impl<'de> Deserialize<'de> for TimelineEvent
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 TimelineEvent
impl RefUnwindSafe for TimelineEvent
impl Send for TimelineEvent
impl Sync for TimelineEvent
impl Unpin for TimelineEvent
impl UnsafeUnpin for TimelineEvent
impl UnwindSafe for TimelineEvent
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