pub struct FeatureFlagsProgrammaticOutput {
pub output: FeatureFlagsOutput,
pub telemetry_analysis_run_id: Option<String>,
}Expand description
Typed programmatic feature-flag output before JSON serialization.
Fields§
§output: FeatureFlagsOutputTyped feature-flag envelope produced by the run.
telemetry_analysis_run_id: Option<String>Analysis run id stamped into telemetry metadata when present.
Implementations§
Source§impl FeatureFlagsProgrammaticOutput
impl FeatureFlagsProgrammaticOutput
Sourcepub fn feature_flags(&self) -> &[FeatureFlagFinding]
pub fn feature_flags(&self) -> &[FeatureFlagFinding]
Feature flag findings retained by this run.
Sourcepub const fn total_flags(&self) -> usize
pub const fn total_flags(&self) -> usize
Number of feature flags retained by this run after scoping and limits.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FeatureFlagsProgrammaticOutput
impl RefUnwindSafe for FeatureFlagsProgrammaticOutput
impl Send for FeatureFlagsProgrammaticOutput
impl Sync for FeatureFlagsProgrammaticOutput
impl Unpin for FeatureFlagsProgrammaticOutput
impl UnsafeUnpin for FeatureFlagsProgrammaticOutput
impl UnwindSafe for FeatureFlagsProgrammaticOutput
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
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