pub struct Propose {
pub kind: String,
pub title: String,
pub target: Option<String>,
pub request: Option<String>,
pub checks: Option<Vec<String>>,
pub note: Option<String>,
pub answer: Option<String>,
pub description: Option<String>,
pub symptom: Option<String>,
pub expected: Option<Vec<String>>,
pub unchanged: Option<Vec<String>>,
}Expand description
A change for the person to confirm; nothing runs.
Fields§
§kind: Stringquick_change, bug_fix, nudge, answer or start_spec.
title: StringOne line, at most 120 characters.
target: Option<String>The task (nudge) or open question (answer) it is about.
request: Option<String>A quick change, in words the implementer can act on.
checks: Option<Vec<String>>When a quick change is done (at most 8).
note: Option<String>A nudge’s note for the task’s next attempt.
answer: Option<String>An open question’s answer.
description: Option<String>A new spec’s description.
symptom: Option<String>A bug’s current behaviour.
expected: Option<Vec<String>>What should happen instead (at least one for a bug).
unchanged: Option<Vec<String>>What must stay as it is.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Propose
impl<'de> Deserialize<'de> for Propose
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
Source§impl JsonSchema for Propose
impl JsonSchema for Propose
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 moreAuto Trait Implementations§
impl Freeze for Propose
impl RefUnwindSafe for Propose
impl Send for Propose
impl Sync for Propose
impl Unpin for Propose
impl UnsafeUnpin for Propose
impl UnwindSafe for Propose
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 moreSource§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.
Creates a shared type from an unshared type.