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 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