pub struct AssignmentEvent {
pub base: Arc<AssignmentEventBase>,
pub subject: Str,
pub subject_attributes: Arc<Attributes>,
pub timestamp: DateTime<Utc>,
pub evaluation_details: Option<Arc<EvaluationDetails>>,
}Expand description
Represents an event capturing the assignment of a feature flag to a subject and its logging details.
Fields§
§base: Arc<AssignmentEventBase>§subject: StrThe key identifying the subject receiving the assignment.
subject_attributes: Arc<Attributes>Custom attributes of the subject relevant to the assignment.
timestamp: DateTime<Utc>The timestamp indicating when the assignment event occurred.
evaluation_details: Option<Arc<EvaluationDetails>>Evaluation details that could help with debugging the assigment. Only populated when
details-version of the get_assigment was called.
Trait Implementations§
Source§impl Clone for AssignmentEvent
impl Clone for AssignmentEvent
Source§fn clone(&self) -> AssignmentEvent
fn clone(&self) -> AssignmentEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssignmentEvent
impl Debug for AssignmentEvent
Auto Trait Implementations§
impl !Freeze for AssignmentEvent
impl RefUnwindSafe for AssignmentEvent
impl Send for AssignmentEvent
impl Sync for AssignmentEvent
impl Unpin for AssignmentEvent
impl UnwindSafe for AssignmentEvent
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