pub struct FlagUse {
pub flag_name: String,
pub kind: FlagUseKind,
pub line: u32,
pub col: u32,
pub guard_span_start: Option<u32>,
pub guard_span_end: Option<u32>,
pub sdk_name: Option<String>,
pub facts: FlagSiteFacts,
}Expand description
A feature flag use site.
Fields§
§flag_name: StringFlag identifier.
kind: FlagUseKindDetection kind.
line: u321-based line number.
col: u320-based byte column offset.
guard_span_start: Option<u32>Start byte offset of the guarded block.
guard_span_end: Option<u32>End byte offset of the guarded block.
sdk_name: Option<String>SDK/provider name.
facts: FlagSiteFactsFacts about the site, for the retirement report and the confidence mapping.
Trait Implementations§
impl<'__de> Decode<'__de> for FlagUse
impl Encode for FlagUse
Auto Trait Implementations§
impl Freeze for FlagUse
impl RefUnwindSafe for FlagUse
impl Send for FlagUse
impl Sync for FlagUse
impl Unpin for FlagUse
impl UnsafeUnpin for FlagUse
impl UnwindSafe for FlagUse
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,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
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