pub enum SpineDocument {
Roadmap,
Memo,
Handoff,
Spec,
}Expand description
Which of a building’s own spine documents a write carries.
Named rather than addressed, for the reason GovernedDocument
gives: where these files live is the city’s answer and not the
sender’s. Unlike the three documents that govern a city, these have
a second writer — a resident reaches Roadmap.md through plan and
the others through edit — so a write to one of them is a write that
can lose a race, and the caller says which text it started from.
Variants§
Roadmap
The plan and the only source of progress in a building.
Memo
The notepad: whatever needs recording and has no other home.
Handoff
What the next session needs and cannot get from the files.
Spec
What this project is and the decisions it holds.
Trait Implementations§
Source§impl Clone for SpineDocument
impl Clone for SpineDocument
impl Copy for SpineDocument
Source§impl Debug for SpineDocument
impl Debug for SpineDocument
Source§impl<'de> Deserialize<'de> for SpineDocument
impl<'de> Deserialize<'de> for SpineDocument
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 SpineDocument
Source§impl PartialEq for SpineDocument
impl PartialEq for SpineDocument
Source§impl Serialize for SpineDocument
impl Serialize for SpineDocument
impl StructuralPartialEq for SpineDocument
Auto Trait Implementations§
impl Freeze for SpineDocument
impl RefUnwindSafe for SpineDocument
impl Send for SpineDocument
impl Sync for SpineDocument
impl Unpin for SpineDocument
impl UnsafeUnpin for SpineDocument
impl UnwindSafe for SpineDocument
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