pub struct PresetState {
pub installed: Option<String>,
pub active_for_tasks_template: bool,
pub bundled: String,
}Expand description
The speccoder preset in a project, as Spec Kit reports it.
Fields§
§installed: Option<String>The installed version, when installed.
active_for_tasks_template: boolspecify preset resolve tasks-template names it.
bundled: StringThe version this speccoder bundles.
Trait Implementations§
Source§impl Clone for PresetState
impl Clone for PresetState
Source§impl Debug for PresetState
impl Debug for PresetState
impl Eq for PresetState
Source§impl JsonSchema for PresetState
impl JsonSchema for PresetState
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PresetState
impl PartialEq for PresetState
Source§impl Serialize for PresetState
impl Serialize for PresetState
impl StructuralPartialEq for PresetState
Auto Trait Implementations§
impl Freeze for PresetState
impl RefUnwindSafe for PresetState
impl Send for PresetState
impl Sync for PresetState
impl Unpin for PresetState
impl UnsafeUnpin for PresetState
impl UnwindSafe for PresetState
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