pub struct Snapshot {
pub stdout_tail: String,
pub stderr_tail: String,
pub truncated: bool,
pub encoding: String,
pub stdout_observed_bytes: u64,
pub stderr_observed_bytes: u64,
pub stdout_included_bytes: u64,
pub stderr_included_bytes: u64,
}Expand description
Snapshot of stdout/stderr tail at a point in time.
Fields§
§stdout_tail: String§stderr_tail: String§truncated: boolTrue when the output was truncated by tail_lines or max_bytes constraints.
encoding: String§stdout_observed_bytes: u64Size of stdout.log in bytes at the time of the snapshot (0 if file absent).
stderr_observed_bytes: u64Size of stderr.log in bytes at the time of the snapshot (0 if file absent).
stdout_included_bytes: u64UTF-8 byte length of the stdout_tail string included in this snapshot.
stderr_included_bytes: u64UTF-8 byte length of the stderr_tail string included in this snapshot.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Snapshot
impl<'de> Deserialize<'de> for Snapshot
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 Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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