pub struct Move {
pub id: MoveId,
pub name: String,
pub kind: Kind,
pub scope: Scope,
pub prose: String,
pub cites: Vec<Cited>,
pub course: Option<Course>,
pub who: String,
pub when: u64,
}Expand description
A move, without its edges.
Fields§
§id: MoveId§name: StringWhat its author calls it, unique within the tree.
The id is the store’s — it says what order these were written in, and
it works as an identity for exactly as long as somebody is holding it
in a variable. Picking an investigation up again is the ordinary case:
another process, a tool call, or the same person a week later, none of
whom remember that the capacity question was 7. So a move is reached
by a word somebody chose, and that is what makes go possible at all.
kind: Kind§scope: ScopeWhat it is about. Only questions and hypotheses carry one; in the rest it is everything and is not read.
prose: String§cites: Vec<Cited>What it cites of layer 1: commits, trials, artifacts.
Carried by an attempt — the commit that ran, and the trials it ran — and by a finding — the trial it was seen in. A question, a hypothesis and a decision are about moves and not about layer-1 pieces, and letting them cite would let a question point at a commit with nobody knowing what that means.
course: Option<Course>What was decided. Only a Kind::Decision carries one; in the rest it
is None and is not read.
who: String§when: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Move
impl<'de> Deserialize<'de> for Move
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>,
impl Eq for Move
impl StructuralPartialEq for Move
Auto Trait Implementations§
impl Freeze for Move
impl RefUnwindSafe for Move
impl Send for Move
impl Sync for Move
impl Unpin for Move
impl UnsafeUnpin for Move
impl UnwindSafe for Move
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.