pub struct Preview {
pub configured: bool,
pub checks: Vec<Proposed>,
pub allow: Vec<Vec<String>>,
pub formatter: Option<Vec<String>>,
pub keys: Vec<(String, bool)>,
}Expand description
What init would write here, without writing: for the setup assistant.
Fields§
§configured: boolWhether the project already has a speccoder.toml.
checks: Vec<Proposed>The checks it would declare.
allow: Vec<Vec<String>>Commands the model could run without asking.
formatter: Option<Vec<String>>The formatter it would configure.
keys: Vec<(String, bool)>The model key variables, and whether each is set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Preview
impl RefUnwindSafe for Preview
impl Send for Preview
impl Sync for Preview
impl Unpin for Preview
impl UnsafeUnpin for Preview
impl UnwindSafe for Preview
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