pub struct FeatureCounts {Show 14 fields
pub capabilities: usize,
pub mcp_tools: usize,
pub mcp_resources: usize,
pub http_routes: usize,
pub cli_paths: usize,
pub commands: usize,
pub objects: usize,
pub rules: usize,
pub enforced_rules: usize,
pub docs: usize,
pub adrs: usize,
pub claims: usize,
pub use_cases: usize,
pub moments: usize,
}Expand description
How much stands behind a feature, every number derived.
Fields§
§capabilities: usizeBuiltin capabilities of the modules it names.
mcp_tools: usizeMCP tools among them.
mcp_resources: usizeMCP resources among them, plus one per object of the kinds it names.
http_routes: usizeHTTP routes among them.
cli_paths: usizeCommand-line paths of the executable among them.
commands: usizePublic commands of the shell tool it names.
objects: usizeObjects of the kinds it names.
rules: usizeRules it names.
enforced_rules: usizeRules the tool enforces among them.
docs: usizeDocuments it names.
adrs: usizeDecisions it names.
claims: usizeClaims it names.
use_cases: usizeUse cases it names.
moments: usizeMoments it answers.
Trait Implementations§
Source§impl Clone for FeatureCounts
impl Clone for FeatureCounts
Source§fn clone(&self) -> FeatureCounts
fn clone(&self) -> FeatureCounts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FeatureCounts
impl Debug for FeatureCounts
Source§impl Default for FeatureCounts
impl Default for FeatureCounts
Source§fn default() -> FeatureCounts
fn default() -> FeatureCounts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeatureCounts
impl<'de> Deserialize<'de> for FeatureCounts
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
impl Eq for FeatureCounts
Source§impl JsonSchema for FeatureCounts
impl JsonSchema for FeatureCounts
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 FeatureCounts
impl PartialEq for FeatureCounts
Source§fn eq(&self, other: &FeatureCounts) -> bool
fn eq(&self, other: &FeatureCounts) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FeatureCounts
impl Serialize for FeatureCounts
impl StructuralPartialEq for FeatureCounts
Auto Trait Implementations§
impl Freeze for FeatureCounts
impl RefUnwindSafe for FeatureCounts
impl Send for FeatureCounts
impl Sync for FeatureCounts
impl Unpin for FeatureCounts
impl UnsafeUnpin for FeatureCounts
impl UnwindSafe for FeatureCounts
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.