pub struct ReviewItem {
pub id: String,
pub text: String,
pub state: String,
pub by: Option<String>,
pub at: Option<u64>,
pub comment: Option<String>,
pub decided_on: Option<String>,
}Expand description
One requirement and its review.
Fields§
§id: StringFR-001.
text: StringIts wording now (the line, markup aside).
state: Stringopen (not reviewed), approved, changes_requested, or lapsed
(decided on a wording that has changed since).
by: Option<String>Who decided (as for every decision: git’s user.name, else the OS
user), when someone did.
at: Option<u64>When (Unix seconds).
comment: Option<String>The comment, for a change request (or a note on an approval).
decided_on: Option<String>For lapsed: the wording that was decided on.
Trait Implementations§
Source§impl Clone for ReviewItem
impl Clone for ReviewItem
Source§impl Debug for ReviewItem
impl Debug for ReviewItem
impl Eq for ReviewItem
Source§impl JsonSchema for ReviewItem
impl JsonSchema for ReviewItem
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 ReviewItem
impl PartialEq for ReviewItem
Source§impl Serialize for ReviewItem
impl Serialize for ReviewItem
impl StructuralPartialEq for ReviewItem
Auto Trait Implementations§
impl Freeze for ReviewItem
impl RefUnwindSafe for ReviewItem
impl Send for ReviewItem
impl Sync for ReviewItem
impl Unpin for ReviewItem
impl UnsafeUnpin for ReviewItem
impl UnwindSafe for ReviewItem
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