pub struct OpenQuestion {
pub id: String,
pub text: String,
pub file: String,
pub line: usize,
pub near: Option<String>,
}Expand description
A question a document leaves open, to answer in place.
Fields§
§id: StringQ1, Q2, … in reading order.
text: StringThe question.
file: StringThe document (project-relative).
line: usizeIts line (1-based).
near: Option<String>The requirement or section it is in.
Trait Implementations§
Source§impl Clone for OpenQuestion
impl Clone for OpenQuestion
Source§impl Debug for OpenQuestion
impl Debug for OpenQuestion
impl Eq for OpenQuestion
Source§impl JsonSchema for OpenQuestion
impl JsonSchema for OpenQuestion
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 OpenQuestion
impl PartialEq for OpenQuestion
Source§impl Serialize for OpenQuestion
impl Serialize for OpenQuestion
impl StructuralPartialEq for OpenQuestion
Auto Trait Implementations§
impl Freeze for OpenQuestion
impl RefUnwindSafe for OpenQuestion
impl Send for OpenQuestion
impl Sync for OpenQuestion
impl Unpin for OpenQuestion
impl UnsafeUnpin for OpenQuestion
impl UnwindSafe for OpenQuestion
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