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 FlagUsewhere
'__de:,
impl Encode for FlagUse
Auto Trait Implementations§
impl Forget for FlagUse
impl Freeze for FlagUse
impl Move for FlagUse
impl RefUnwindSafe for FlagUse
impl Send for FlagUsewhere
RawVecInner: Send,
impl Sync for FlagUsewhere
RawVecInner: Sync,
impl Unpin for FlagUse
impl UnsafeUnpin for FlagUse
impl UnwindSafe for FlagUsewhere
RawVecInner: UnwindSafe,
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