pub struct Feature {
pub id: String,
pub spec: String,
pub area: String,
pub maturity: Maturity,
pub advertised: bool,
pub tests: Vec<String>,
pub counts_in_coverage: bool,
pub description: String,
}Expand description
Per-feature catalog entry.
Fields§
§id: StringCanonical feature identifier (for example: lsp.completion).
spec: StringSpec reference string (for example: LSP 3.18).
area: StringArea bucket (text_document, workspace, debug, etc.).
maturity: MaturityMaturity state.
advertised: boolWhether this feature is advertised/visible to clients.
tests: Vec<String>Test cases validating the feature.
counts_in_coverage: boolInclude this feature in coverage/compliance accounting.
description: StringHuman-readable description.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Feature
impl<'de> Deserialize<'de> for Feature
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
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnsafeUnpin for Feature
impl UnwindSafe for Feature
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