pub struct Creation {Show 16 fields
pub path: String,
pub mode: ProjectMode,
pub commit: Option<String>,
pub plan_digest: String,
pub name: String,
pub idea: String,
pub stack: Stack,
pub format: String,
pub by: Option<GitIdentity>,
pub via: Via,
pub at: u64,
pub first_feature_offered: bool,
pub undone_at: Option<u64>,
pub before: Before,
pub left: Option<Snapshot>,
pub git: Option<String>,
}Expand description
The creation record: what Undo, the recent projects and the new project’s first view read. In speccoder’s state, never the project.
Fields§
§path: StringThe folder, canonical.
mode: ProjectModenew_folder or existing_repository.
commit: Option<String>speccoder’s commit, once made.
plan_digest: StringThe plan it ran.
name: StringThe project’s name.
idea: StringWhat the person is building, verbatim (never in an event).
stack: StackThe stack.
format: StringThe spec format.
by: Option<GitIdentity>The person’s git identity.
via: ViaThrough what.
at: u64Unix seconds.
first_feature_offered: boolThe New Feature sheet was offered with the idea once.
undone_at: Option<u64>When it was undone.
before: BeforeThe folder before the first step: what speccoder neither made nor may commit or move.
left: Option<Snapshot>The folder as the last run left it: a run that resumes needs it unchanged.
git: Option<String>The repository’s own files (.git, but its objects and index) as
speccoder made or found them: a step that changes them stops the run.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Creation
impl<'de> Deserialize<'de> for Creation
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 Creation
impl StructuralPartialEq for Creation
Auto Trait Implementations§
impl Freeze for Creation
impl RefUnwindSafe for Creation
impl Send for Creation
impl Sync for Creation
impl Unpin for Creation
impl UnsafeUnpin for Creation
impl UnwindSafe for Creation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more