#[non_exhaustive]pub struct JobOutput {
pub sequence: u64,
pub timestamp: i64,
pub source: String,
pub data_base64: String,
}Expand description
Byte-preserving output record. Sequence numbers remain monotonic across log rotation.
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.sequence: u64Monotonic sequence number, starting at one.
timestamp: i64Unix milliseconds at capture.
source: Stringstdout, stderr, output (PTY), or stdin_error.
data_base64: StringOriginal bytes, encoded explicitly for portable persisted JSON.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobOutput
impl<'de> Deserialize<'de> for JobOutput
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 JobOutput
impl RefUnwindSafe for JobOutput
impl Send for JobOutput
impl Sync for JobOutput
impl Unpin for JobOutput
impl UnsafeUnpin for JobOutput
impl UnwindSafe for JobOutput
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