pub struct ReviewChange {
pub id: String,
pub then: Option<String>,
pub now: Option<String>,
pub path: String,
pub then_line: Option<u32>,
pub now_line: Option<u32>,
}Expand description
A requirement changed in the checkout since the last commit of the
spec, with where its line is — a comment anchors to it (diff_line).
Fields§
§id: StringFR-003.
then: Option<String>Its line at the last commit; None: it did not exist yet.
now: Option<String>Its line now; None: it was removed.
path: StringThe document it is in (project-relative).
then_line: Option<u32>Its line number (1-based) at the last commit.
now_line: Option<u32>Its line number (1-based) now.
Trait Implementations§
Source§impl Clone for ReviewChange
impl Clone for ReviewChange
Source§impl Debug for ReviewChange
impl Debug for ReviewChange
Source§impl<'de> Deserialize<'de> for ReviewChange
impl<'de> Deserialize<'de> for ReviewChange
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 ReviewChange
Source§impl JsonSchema for ReviewChange
impl JsonSchema for ReviewChange
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 ReviewChange
impl PartialEq for ReviewChange
Source§impl Serialize for ReviewChange
impl Serialize for ReviewChange
impl StructuralPartialEq for ReviewChange
Auto Trait Implementations§
impl Freeze for ReviewChange
impl RefUnwindSafe for ReviewChange
impl Send for ReviewChange
impl Sync for ReviewChange
impl Unpin for ReviewChange
impl UnsafeUnpin for ReviewChange
impl UnwindSafe for ReviewChange
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