pub struct RemoteTimelineEntry {
pub id: String,
pub at: String,
pub kind: String,
pub service: Option<String>,
pub severity: TimelineSeverity,
pub title: String,
pub detail: Option<String>,
}Expand description
One thing the runtime did.
No data. The local event carries a free-form JSON blob whose contents
depend on the event kind — and for a process event that blob is a pid, an
exit code and a command line. A wire type with a serde_json::Value in it
is a wire type with nowhere it cannot put those, which is exactly what
this module exists to prevent.
Fields§
§id: String§at: StringRFC 3339, as the daemon recorded it.
kind: StringThe event kind as the daemon spells it — service_started,
health_check. A string rather than an enum for the usual reason: a
kind added later must not fail an older reader’s parse.
service: Option<String>§severity: TimelineSeverity§title: String§detail: Option<String>Trait Implementations§
Source§impl Clone for RemoteTimelineEntry
impl Clone for RemoteTimelineEntry
Source§fn clone(&self) -> RemoteTimelineEntry
fn clone(&self) -> RemoteTimelineEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RemoteTimelineEntry
impl Debug for RemoteTimelineEntry
Source§impl<'de> Deserialize<'de> for RemoteTimelineEntry
impl<'de> Deserialize<'de> for RemoteTimelineEntry
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 Eq for RemoteTimelineEntry
Source§impl PartialEq for RemoteTimelineEntry
impl PartialEq for RemoteTimelineEntry
Source§impl Serialize for RemoteTimelineEntry
impl Serialize for RemoteTimelineEntry
impl StructuralPartialEq for RemoteTimelineEntry
Auto Trait Implementations§
impl Freeze for RemoteTimelineEntry
impl RefUnwindSafe for RemoteTimelineEntry
impl Send for RemoteTimelineEntry
impl Sync for RemoteTimelineEntry
impl Unpin for RemoteTimelineEntry
impl UnsafeUnpin for RemoteTimelineEntry
impl UnwindSafe for RemoteTimelineEntry
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
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>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.