pub struct Feature {Show 26 fields
pub id: String,
pub title: String,
pub short_title: Option<String>,
pub headline: String,
pub summary: String,
pub status: String,
pub weight: u32,
pub featured: bool,
pub domain: Option<String>,
pub areas: Vec<String>,
pub audiences: Vec<String>,
pub modules: Vec<String>,
pub commands: Vec<String>,
pub kinds: Vec<String>,
pub rules: Vec<String>,
pub docs: Vec<String>,
pub adrs: Vec<String>,
pub claims: Vec<String>,
pub use_cases: Vec<String>,
pub cockpit: Vec<String>,
pub web: Vec<String>,
pub related: Vec<String>,
pub tags: Vec<String>,
pub route: String,
pub source: String,
pub body: String,
}Expand description
One product feature, as its file declares it plus the facts the file cannot hold: where it came from and where it is published.
Fields§
§id: StringThe identity, the slug and the file name.
title: StringThe feature as a heading.
short_title: Option<String>Two or three words for a card or a matrix row.
headline: StringThe promise a visitor reads first.
summary: StringOne line: what it does.
status: Stringstable, draft or deprecated.
weight: u32Presentation order, lowest first.
featured: boolWhether the homepage shows it as a chapter.
domain: Option<String>The product domain it belongs to, by id: exactly one. Editorial; the domain’s members are derived from this field and listed nowhere else.
areas: Vec<String>The operational areas of the why catalogue it serves.
audiences: Vec<String>The audiences of the why catalogue it is written for.
modules: Vec<String>Capability modules of the executable it is made of.
commands: Vec<String>Public commands of the shell tool it is made of.
kinds: Vec<String>Object kinds of the layer it is made of.
rules: Vec<String>Rules of the effective set that govern it, by id without the version.
docs: Vec<String>The documents that explain it, by repository-relative path.
adrs: Vec<String>The decisions behind it, by declared id.
claims: Vec<String>Claims that say what is guaranteed here.
use_cases: Vec<String>Use cases that show it in use.
cockpit: Vec<String>Areas of the Cockpit that show it.
web: Vec<String>Web surfaces of the topology it is offered through.
Features explicitly related to this one. The reverse is derived.
Free tags.
route: StringDerived: /features/<id>/. Never authored; the schema refuses a route key.
source: StringDerived: the repository-relative file the record came from.
body: StringThe Markdown body, without its front matter.
Implementations§
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>,
impl Eq for Feature
Source§impl JsonSchema for Feature
impl JsonSchema for Feature
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreimpl StructuralPartialEq for Feature
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
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
key and return true if they are equal.