pub struct ProposalFields {
pub target: Option<String>,
pub request: Option<String>,
pub checks: Vec<String>,
pub note: Option<String>,
pub answer: Option<String>,
pub description: Option<String>,
pub symptom: Option<String>,
pub expected: Vec<String>,
pub unchanged: Vec<String>,
}Expand description
A proposal’s words; which ones a kind uses is the kind’s.
Fields§
§target: Option<String>The task (nudge) or question (answer) it is about.
request: Option<String>A quick change, in the person’s words.
checks: Vec<String>When a quick change is done.
note: Option<String>A nudge’s note.
answer: Option<String>A question’s answer.
description: Option<String>A new spec’s description.
symptom: Option<String>A bug’s current behaviour.
expected: Vec<String>What should happen instead.
unchanged: Vec<String>What must stay as it is.
Trait Implementations§
Source§impl Clone for ProposalFields
impl Clone for ProposalFields
Source§impl Debug for ProposalFields
impl Debug for ProposalFields
Source§impl Default for ProposalFields
impl Default for ProposalFields
Source§impl<'de> Deserialize<'de> for ProposalFields
impl<'de> Deserialize<'de> for ProposalFields
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 ProposalFields
Source§impl JsonSchema for ProposalFields
impl JsonSchema for ProposalFields
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 ProposalFields
impl PartialEq for ProposalFields
Source§impl Serialize for ProposalFields
impl Serialize for ProposalFields
impl StructuralPartialEq for ProposalFields
Auto Trait Implementations§
impl Freeze for ProposalFields
impl RefUnwindSafe for ProposalFields
impl Send for ProposalFields
impl Sync for ProposalFields
impl Unpin for ProposalFields
impl UnsafeUnpin for ProposalFields
impl UnwindSafe for ProposalFields
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