pub struct TopicRow {
pub producer: String,
pub registry_version: String,
pub class: String,
pub path: String,
pub type_name: String,
pub open_ended: bool,
pub since: Option<String>,
pub deprecated: bool,
pub deprecated_since: Option<String>,
pub replaced_by: Option<String>,
pub cardinality: Option<i64>,
pub budget: Option<BudgetCell>,
}Fields§
§producer: String§registry_version: String§class: String§path: String§type_name: String§open_ended: boolTrailing {var...} family: the registry fixes the shape, not the
members.
since: Option<String>Registry version the subject first appeared in, when declared.
deprecated: boolA retired subject (from the slice’s [[deprecated]] ledger, RFC 08
§6) — rendered only under topic list --deprecated.
deprecated_since: Option<String>When it was retired, if the ledger says.
replaced_by: Option<String>The declared replacement subject, if any.
cardinality: Option<i64>The declared key-population bound (RFC 08 §2: mandatory on any
{var} pattern; the budget review enforces). Additive (#221) — old
consumers keep parsing.
budget: Option<BudgetCell>Declared-vs-observed key population — present only under
topic list --budget (#221).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TopicRow
impl RefUnwindSafe for TopicRow
impl Send for TopicRow
impl Sync for TopicRow
impl Unpin for TopicRow
impl UnsafeUnpin for TopicRow
impl UnwindSafe for TopicRow
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
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> ⓘ
Converts
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> ⓘ
Converts
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