pub struct StreamReport {
pub stream: String,
pub verdict: Verdict,
pub lines: u64,
pub sealed_lines: Option<u64>,
pub chain_intact_through: Option<u64>,
pub first_bad_line: Option<u64>,
pub key_id: Option<String>,
pub detail: String,
pub notes: Vec<String>,
}Expand description
One stream’s verdict.
Fields§
§stream: String§verdict: Verdict§lines: u64Complete lines the stream holds (1 for completion.json).
sealed_lines: Option<u64>Lines the seal covers, None with no seal.
chain_intact_through: Option<u64>The last line through which the chain, or the seal’s listed hashes, hold.
first_bad_line: Option<u64>changed only: the first line that no longer hashes to what was recorded.
key_id: Option<String>The seal’s key id.
detail: String§notes: Vec<String>Findings that change nothing, such as a torn line the chain still covers.
Trait Implementations§
Source§impl Clone for StreamReport
impl Clone for StreamReport
Source§impl Debug for StreamReport
impl Debug for StreamReport
Source§impl<'de> Deserialize<'de> for StreamReport
impl<'de> Deserialize<'de> for StreamReport
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 StreamReport
Source§impl PartialEq for StreamReport
impl PartialEq for StreamReport
Source§impl Serialize for StreamReport
impl Serialize for StreamReport
impl StructuralPartialEq for StreamReport
Auto Trait Implementations§
impl Forget for StreamReport
impl Freeze for StreamReport
impl Move for StreamReport
impl RefUnwindSafe for StreamReport
impl Send for StreamReport
impl Sync for StreamReport
impl Unpin for StreamReport
impl UnsafeUnpin for StreamReport
impl UnwindSafe for StreamReport
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more