pub struct CkmConcept {
pub id: String,
pub name: String,
pub slug: String,
pub what: String,
pub tags: Vec<String>,
pub properties: Option<Vec<CkmProperty>>,
pub rules: Option<Vec<String>>,
pub related_to: Option<Vec<String>>,
pub extensions: Option<Extensions>,
}Expand description
A domain concept extracted from source code.
Fields§
§id: StringUnique identifier (e.g., “concept-calver-config”).
name: StringType name (e.g., CalVerConfig).
slug: StringTopic slug (e.g., “calver”) — used for topic derivation.
what: StringOne-line description.
Semantic tags (e.g., [“config”]).
properties: Option<Vec<CkmProperty>>Properties of the type, if applicable.
rules: Option<Vec<String>>Validation rules extracted from remarks or constraint tags.
Related concept names from @see tags or type references.
extensions: Option<Extensions>Producer-defined extension data. CKM passes this through without validation.
Trait Implementations§
Source§impl Clone for CkmConcept
impl Clone for CkmConcept
Source§fn clone(&self) -> CkmConcept
fn clone(&self) -> CkmConcept
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 CkmConcept
impl Debug for CkmConcept
Source§impl<'de> Deserialize<'de> for CkmConcept
impl<'de> Deserialize<'de> for CkmConcept
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 CkmConcept
impl PartialEq for CkmConcept
Source§impl Serialize for CkmConcept
impl Serialize for CkmConcept
impl StructuralPartialEq for CkmConcept
Auto Trait Implementations§
impl Freeze for CkmConcept
impl RefUnwindSafe for CkmConcept
impl Send for CkmConcept
impl Sync for CkmConcept
impl Unpin for CkmConcept
impl UnsafeUnpin for CkmConcept
impl UnwindSafe for CkmConcept
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