#[non_exhaustive]pub struct TimelineItem {
pub id: String,
pub at: f64,
pub kind: String,
pub action: String,
pub operation_id: String,
pub station_id: Option<String>,
pub mission_id: Option<String>,
pub handle: Option<String>,
pub run_id: Option<String>,
pub actor: Option<String>,
pub target: Option<String>,
pub detail: TimelineDetail,
}Expand description
One entry of an Operation’s activity timeline: metadata only.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringStable identity: event:<id> for an activity event, audit:<id> for an audit record.
at: f64When it happened, as Unix seconds.
kind: Stringlifecycle, control, cable, sleeper or audit.
action: StringWhat happened: a Mission state, <action>.<outcome>, sent, authorized,
revoked, or the audit action.
operation_id: StringThe Operation whose timeline this is.
station_id: Option<String>The Station involved, when known.
mission_id: Option<String>The Mission involved, when there is one: its UID.
handle: Option<String>What that Mission is called now.
run_id: Option<String>The Run involved, when there is one.
actor: Option<String>Who acted: a person ID or an Agent codename.
target: Option<String>An audit record’s target: a Mission, proposal, role, Agent or setting name.
detail: TimelineDetailFurther safe identifiers and names.
Trait Implementations§
Source§impl Clone for TimelineItem
impl Clone for TimelineItem
Source§impl Debug for TimelineItem
impl Debug for TimelineItem
Source§impl<'de> Deserialize<'de> for TimelineItem
impl<'de> Deserialize<'de> for TimelineItem
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
Source§impl PartialEq for TimelineItem
impl PartialEq for TimelineItem
Source§impl Serialize for TimelineItem
impl Serialize for TimelineItem
impl StructuralPartialEq for TimelineItem
Auto Trait Implementations§
impl Freeze for TimelineItem
impl RefUnwindSafe for TimelineItem
impl Send for TimelineItem
impl Sync for TimelineItem
impl Unpin for TimelineItem
impl UnsafeUnpin for TimelineItem
impl UnwindSafe for TimelineItem
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.