pub struct ExploreSession {Show 13 fields
pub version: u32,
pub id: String,
pub idea: String,
pub skill: String,
pub selected_because: String,
pub state: String,
pub created_at: u64,
pub updated_at: u64,
pub runs: Vec<RunRef>,
pub reports: Vec<ExploreReport>,
pub qa: Vec<QaItem>,
pub choices: Vec<Choice>,
pub started: Option<Started>,
}Expand description
One exploration of one idea in one project.
Fields§
§version: u32id: Stringex- and hex.
idea: StringThe person’s idea.
skill: StringThe skill that explores.
selected_because: Stringflag, format or fallback.
state: Stringopen, chosen or started.
created_at: u64Unix seconds.
updated_at: u64Unix seconds.
runs: Vec<RunRef>Its runs, in order.
reports: Vec<ExploreReport>Each run’s report, in order.
qa: Vec<QaItem>The questions asked and their answers.
choices: Vec<Choice>The choices made, the last one standing.
started: Option<Started>The unit it started, once.
Implementations§
Source§impl ExploreSession
impl ExploreSession
Sourcepub fn on_the_table(&self) -> (Vec<Approach>, Vec<Item>, Vec<Item>)
pub fn on_the_table(&self) -> (Vec<Approach>, Vec<Item>, Vec<Item>)
What the person chooses from now: the last report’s approaches and its constraints and open questions (with the questions nobody could answer), and what the person added at their last choice — a resume keeps their words.
Sourcepub fn entry(&self) -> SessionEntry
pub fn entry(&self) -> SessionEntry
Its line in a list.
Trait Implementations§
Source§impl Clone for ExploreSession
impl Clone for ExploreSession
Source§impl Debug for ExploreSession
impl Debug for ExploreSession
Source§impl<'de> Deserialize<'de> for ExploreSession
impl<'de> Deserialize<'de> for ExploreSession
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 ExploreSession
Source§impl JsonSchema for ExploreSession
impl JsonSchema for ExploreSession
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 ExploreSession
impl PartialEq for ExploreSession
Source§impl Serialize for ExploreSession
impl Serialize for ExploreSession
impl StructuralPartialEq for ExploreSession
Auto Trait Implementations§
impl Freeze for ExploreSession
impl RefUnwindSafe for ExploreSession
impl Send for ExploreSession
impl Sync for ExploreSession
impl Unpin for ExploreSession
impl UnsafeUnpin for ExploreSession
impl UnwindSafe for ExploreSession
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