pub struct SpecVersion {
pub commit: String,
pub date: String,
pub author: String,
pub subject: String,
pub added: Vec<String>,
pub reworded: Vec<String>,
pub removed: Vec<String>,
}Expand description
One commit of the spec and what it changed in its requirements.
Fields§
§commit: StringThe commit.
date: StringYYYY-MM-DD.
Its author.
subject: StringIts subject line.
added: Vec<String>Requirements it added.
reworded: Vec<String>Requirements it reworded.
removed: Vec<String>Requirements it removed.
Trait Implementations§
Source§impl Clone for SpecVersion
impl Clone for SpecVersion
Source§impl Debug for SpecVersion
impl Debug for SpecVersion
impl Eq for SpecVersion
Source§impl JsonSchema for SpecVersion
impl JsonSchema for SpecVersion
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 SpecVersion
impl PartialEq for SpecVersion
Source§impl Serialize for SpecVersion
impl Serialize for SpecVersion
impl StructuralPartialEq for SpecVersion
Auto Trait Implementations§
impl Freeze for SpecVersion
impl RefUnwindSafe for SpecVersion
impl Send for SpecVersion
impl Sync for SpecVersion
impl Unpin for SpecVersion
impl UnsafeUnpin for SpecVersion
impl UnwindSafe for SpecVersion
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