pub struct SpecsConfig {
pub dir: Option<String>,
pub spec_type: Option<String>,
}Expand description
Spec scanning configuration.
Fields§
§dir: Option<String>Directory containing spec files (relative to repo root).
spec_type: Option<String>Spec format type: "openspec" or "markdown".
Trait Implementations§
Source§impl Clone for SpecsConfig
impl Clone for SpecsConfig
Source§fn clone(&self) -> SpecsConfig
fn clone(&self) -> SpecsConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpecsConfig
impl Debug for SpecsConfig
Source§impl Default for SpecsConfig
impl Default for SpecsConfig
Source§fn default() -> SpecsConfig
fn default() -> SpecsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpecsConfig
impl<'de> Deserialize<'de> for SpecsConfig
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
Source§impl PartialEq for SpecsConfig
impl PartialEq for SpecsConfig
Source§impl Serialize for SpecsConfig
impl Serialize for SpecsConfig
impl Eq for SpecsConfig
impl StructuralPartialEq for SpecsConfig
Auto Trait Implementations§
impl Freeze for SpecsConfig
impl RefUnwindSafe for SpecsConfig
impl Send for SpecsConfig
impl Sync for SpecsConfig
impl Unpin for SpecsConfig
impl UnsafeUnpin for SpecsConfig
impl UnwindSafe for SpecsConfig
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