pub struct HeldOutVariant {
pub statement: String,
pub baseline: RedClass,
pub final_: Final,
}Expand description
A held-out variant, as the payload shows it: never its content or path.
Fields§
§statement: StringThe statement it covers.
baseline: RedClassOn the untouched code.
final_: FinalOn the final tree.
Trait Implementations§
Source§impl Clone for HeldOutVariant
impl Clone for HeldOutVariant
Source§impl Debug for HeldOutVariant
impl Debug for HeldOutVariant
Source§impl<'de> Deserialize<'de> for HeldOutVariant
impl<'de> Deserialize<'de> for HeldOutVariant
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 HeldOutVariant
Source§impl JsonSchema for HeldOutVariant
impl JsonSchema for HeldOutVariant
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 moreSource§impl PartialEq for HeldOutVariant
impl PartialEq for HeldOutVariant
Source§impl Serialize for HeldOutVariant
impl Serialize for HeldOutVariant
impl StructuralPartialEq for HeldOutVariant
Auto Trait Implementations§
impl Freeze for HeldOutVariant
impl RefUnwindSafe for HeldOutVariant
impl Send for HeldOutVariant
impl Sync for HeldOutVariant
impl Unpin for HeldOutVariant
impl UnsafeUnpin for HeldOutVariant
impl UnwindSafe for HeldOutVariant
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