pub struct QaItem {
pub question: String,
pub answer: Option<String>,
pub by: Option<String>,
}Expand description
A question the run asked and how it was answered.
Fields§
§question: StringThe model’s question.
answer: Option<String>The person’s answer; none when nobody could answer.
by: Option<String>Who answered.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QaItem
impl<'de> Deserialize<'de> for QaItem
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 QaItem
Source§impl JsonSchema for QaItem
impl JsonSchema for QaItem
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 moreimpl StructuralPartialEq for QaItem
Auto Trait Implementations§
impl Freeze for QaItem
impl RefUnwindSafe for QaItem
impl Send for QaItem
impl Sync for QaItem
impl Unpin for QaItem
impl UnsafeUnpin for QaItem
impl UnwindSafe for QaItem
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