pub struct Red {
pub kind: RedKind,
pub excerpt: Option<String>,
pub excerpt_sha256: Option<String>,
pub output_sha256: String,
pub withheld: bool,
}Expand description
The red run’s output, bounded and checked clean (revision 2).
Fields§
§kind: RedKindHow the tests failed.
excerpt: Option<String>The last bytes of the output (at most 2048); null when withheld.
excerpt_sha256: Option<String>sha256 of excerpt.
output_sha256: Stringsha256 of the captured output the excerpt was cut from.
withheld: boolThe excerpt was not clean (a local path, a credential): dropped.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Red
impl<'de> Deserialize<'de> for Red
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 Red
Source§impl JsonSchema for Red
impl JsonSchema for Red
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Red
Auto Trait Implementations§
impl Freeze for Red
impl RefUnwindSafe for Red
impl Send for Red
impl Sync for Red
impl Unpin for Red
impl UnsafeUnpin for Red
impl UnwindSafe for Red
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