pub struct PrerequisiteEvent {
pub target_flag_key: String,
pub context: Context,
pub prerequisite_flag: Flag,
pub prerequisite_result: Detail<FlagValue>,
}
Expand description
A struct representing the results of an evaluation on a prerequisite flag.
Fields§
§target_flag_key: String
String representing the crate::Flag::key of the original flag being evaluated.
context: Context
The crate::Context provided during the evaluation process.
prerequisite_flag: Flag
The prerequisite crate::Flag that was evaluated.
prerequisite_result: Detail<FlagValue>
The result of calling evaluate on the PrerequisiteEvent::prerequisite_flag.
Auto Trait Implementations§
impl Freeze for PrerequisiteEvent
impl RefUnwindSafe for PrerequisiteEvent
impl Send for PrerequisiteEvent
impl Sync for PrerequisiteEvent
impl Unpin for PrerequisiteEvent
impl UnwindSafe for PrerequisiteEvent
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