pub struct RevisionView {
pub id: String,
pub comments: Vec<String>,
pub sections: Vec<String>,
pub skill: String,
pub changed: Vec<String>,
pub outside: Vec<String>,
pub outcome: String,
pub files: Vec<String>,
pub asked_again: Vec<String>,
pub beside: Vec<String>,
pub diffs: Vec<SectionDiff>,
}Expand description
What a revision turn did.
Fields§
§id: Stringt1, t2, …
comments: Vec<String>The comments it was sent with.
sections: Vec<String>The sections they touch.
skill: StringThe format’s revising skill.
changed: Vec<String>Sections it changed.
outside: Vec<String>Of those, the ones no comment touched.
outcome: Stringpending (the person keeps or undoes it), kept, undone.
files: Vec<String>Files it changed (project-relative).
asked_again: Vec<String>Requirements whose tests were asked again from test comments.
beside: Vec<String>Documents changed while it ran by something other than the skill (the person’s own edit): Undo Revision never overwrites them.
diffs: Vec<SectionDiff>While it waits to be kept or undone: each changed section, before and after, for the word diff.
Trait Implementations§
Source§impl Clone for RevisionView
impl Clone for RevisionView
Source§impl Debug for RevisionView
impl Debug for RevisionView
Source§impl<'de> Deserialize<'de> for RevisionView
impl<'de> Deserialize<'de> for RevisionView
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 RevisionView
Source§impl JsonSchema for RevisionView
impl JsonSchema for RevisionView
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 RevisionView
impl PartialEq for RevisionView
Source§impl Serialize for RevisionView
impl Serialize for RevisionView
impl StructuralPartialEq for RevisionView
Auto Trait Implementations§
impl Freeze for RevisionView
impl RefUnwindSafe for RevisionView
impl Send for RevisionView
impl Sync for RevisionView
impl Unpin for RevisionView
impl UnsafeUnpin for RevisionView
impl UnwindSafe for RevisionView
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