pub struct ExplorePayload {
pub session: Option<ExploreSession>,
pub approaches: Vec<Approach>,
pub constraints: Vec<Item>,
pub open_questions: Vec<Item>,
pub choice: Option<Choice>,
pub brief: Option<String>,
pub sessions: Option<Vec<SessionEntry>>,
}Expand description
spec explore’s payload: one session as it stands, or the list.
Fields§
§session: Option<ExploreSession>The session (none for a list).
approaches: Vec<Approach>The last run’s approaches (the model’s).
constraints: Vec<Item>The constraints to keep or drop, by source.
open_questions: Vec<Item>The open questions, by source.
choice: Option<Choice>The person’s last choice.
brief: Option<String>The brief it made, verbatim.
sessions: Option<Vec<SessionEntry>>The project’s sessions, newest first (--list).
Trait Implementations§
Source§impl Clone for ExplorePayload
impl Clone for ExplorePayload
Source§impl Debug for ExplorePayload
impl Debug for ExplorePayload
Source§impl<'de> Deserialize<'de> for ExplorePayload
impl<'de> Deserialize<'de> for ExplorePayload
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 ExplorePayload
Source§impl JsonSchema for ExplorePayload
impl JsonSchema for ExplorePayload
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 ExplorePayload
impl PartialEq for ExplorePayload
Source§impl Serialize for ExplorePayload
impl Serialize for ExplorePayload
impl StructuralPartialEq for ExplorePayload
Auto Trait Implementations§
impl Freeze for ExplorePayload
impl RefUnwindSafe for ExplorePayload
impl Send for ExplorePayload
impl Sync for ExplorePayload
impl Unpin for ExplorePayload
impl UnsafeUnpin for ExplorePayload
impl UnwindSafe for ExplorePayload
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