pub enum Depth {
Curated,
All,
}Expand description
How much of the Flockfile grammar a scaffold shows.
Verbosity belongs to the moment rather than to the template: a newcomer and a veteran want the same file at different depths.
Only Depth::All is machine-checkable. The drift test compares it
against the generated schema, which works precisely because that level is
meant to be exhaustive. Depth::Curated is editorial judgement about
what matters on day one, and no test can tell anyone it has gone stale,
so the friendly level is the expensive one to maintain.
Variants§
Curated
The fields somebody needs on their first day. A file to read.
All
Every option the grammar has, for somebody who knows what they want and cannot remember what it is called.
Trait Implementations§
impl Copy for Depth
impl Eq for Depth
impl StructuralPartialEq for Depth
Auto Trait Implementations§
impl Freeze for Depth
impl RefUnwindSafe for Depth
impl Send for Depth
impl Sync for Depth
impl Unpin for Depth
impl UnsafeUnpin for Depth
impl UnwindSafe for Depth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
Compare self to
key and return true if they are equal.