pub struct FeatureRef {
pub dir: String,
pub name: String,
pub prefix: String,
}Expand description
A feature directory under specs/.
Fields§
§dir: StringWorkspace-relative directory, e.g. specs/002-speckit-inspect.
name: StringDirectory name, e.g. 002-speckit-inspect.
prefix: StringNumeric prefix as written, e.g. 002 or 20260319-143022.
Trait Implementations§
Source§impl Clone for FeatureRef
impl Clone for FeatureRef
Source§impl Debug for FeatureRef
impl Debug for FeatureRef
impl Eq for FeatureRef
Source§impl JsonSchema for FeatureRef
impl JsonSchema for FeatureRef
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 FeatureRef
impl PartialEq for FeatureRef
Source§impl Serialize for FeatureRef
impl Serialize for FeatureRef
impl StructuralPartialEq for FeatureRef
Auto Trait Implementations§
impl Freeze for FeatureRef
impl RefUnwindSafe for FeatureRef
impl Send for FeatureRef
impl Sync for FeatureRef
impl Unpin for FeatureRef
impl UnsafeUnpin for FeatureRef
impl UnwindSafe for FeatureRef
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