pub struct TopicMetadata {Show 14 fields
pub title: String,
pub status: String,
pub count: usize,
pub sources: usize,
pub created: String,
pub survived: usize,
pub weakened: usize,
pub inconclusive: usize,
pub falsified: usize,
pub dim_bullets: String,
pub tags: String,
pub purpose: String,
pub key_draft: String,
pub by_dim_table: String,
}Expand description
Everything build-topic-readme.sh previously computed via jq, ready
to be emitted as shell variable assignments.
Fields§
§title: StringThe topic’s registered title (falls back to the topic id).
status: StringThe topic’s registered status (falls back to "active").
count: usizeTotal finding count.
sources: usizeUnique non-null citation URLs across every finding.
created: StringThe earliest non-null created value across findings, or empty.
survived: usizeCount of findings with verdict survived.
weakened: usizeCount of findings with verdict weakened.
inconclusive: usizeCount of findings with verdict inconclusive.
falsified: usizeCount of findings with verdict falsified.
dim_bullets: StringPre-rendered - **dim** — desc bullet list (or "—" if empty).
Pre-rendered backtick-quoted tag list (or "—" if empty).
purpose: StringThe goal statement, or a generic fallback naming the title.
key_draft: StringPre-rendered - <summary> draft bullets (up to 8), survived-first.
by_dim_table: StringPre-rendered | dim | count | markdown table rows.
Implementations§
Source§impl TopicMetadata
impl TopicMetadata
Sourcepub fn to_shell_script(&self) -> String
pub fn to_shell_script(&self) -> String
Renders every field as a NAME='value' shell assignment, one per
line, suitable for source <(...) from bash.
Trait Implementations§
Source§impl Clone for TopicMetadata
impl Clone for TopicMetadata
Source§fn clone(&self) -> TopicMetadata
fn clone(&self) -> TopicMetadata
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for TopicMetadata
impl RefUnwindSafe for TopicMetadata
impl Send for TopicMetadata
impl Sync for TopicMetadata
impl Unpin for TopicMetadata
impl UnsafeUnpin for TopicMetadata
impl UnwindSafe for TopicMetadata
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> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more