pub struct Regression {
pub reason: RegressionReason,
pub text: String,
}Expand description
A regression-only tick’s reason with its one-line wording.
Fields§
§reason: RegressionReasonThe reason with its typed details.
text: Stringspeccoder’s sentence for it, the same in every interface.
Implementations§
Source§impl Regression
impl Regression
Sourcepub fn of(reason: RegressionReason) -> Self
pub fn of(reason: RegressionReason) -> Self
The reason, worded.
Trait Implementations§
Source§impl Clone for Regression
impl Clone for Regression
Source§impl Debug for Regression
impl Debug for Regression
Source§impl<'de> Deserialize<'de> for Regression
impl<'de> Deserialize<'de> for Regression
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 Regression
Source§impl JsonSchema for Regression
impl JsonSchema for Regression
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 Regression
impl PartialEq for Regression
Source§impl Serialize for Regression
impl Serialize for Regression
impl StructuralPartialEq for Regression
Auto Trait Implementations§
impl Freeze for Regression
impl RefUnwindSafe for Regression
impl Send for Regression
impl Sync for Regression
impl Unpin for Regression
impl UnsafeUnpin for Regression
impl UnwindSafe for Regression
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