Struct eppo::AssignmentEvent
source · pub struct AssignmentEvent {
pub feature_flag: String,
pub allocation: String,
pub experiment: String,
pub variation: String,
pub subject: String,
pub subject_attributes: HashMap<String, AttributeValue>,
pub timestamp: String,
pub meta_data: HashMap<String, String>,
pub extra_logging: HashMap<String, String>,
pub evaluation_details: Option<EvaluationDetails>,
}Expand description
Represents an event capturing the assignment of a feature flag to a subject and its logging details.
Fields§
§feature_flag: StringThe key of the feature flag being assigned.
allocation: StringThe key of the allocation that the subject was assigned to.
experiment: StringThe key of the experiment associated with the assignment.
variation: StringThe specific variation assigned to the subject.
subject: StringThe key identifying the subject receiving the assignment.
subject_attributes: HashMap<String, AttributeValue>Custom attributes of the subject relevant to the assignment.
timestamp: StringThe timestamp indicating when the assignment event occurred.
meta_data: HashMap<String, String>Additional metadata such as SDK language and version.
extra_logging: HashMap<String, String>Additional user-defined logging fields for capturing extra information related to the assignment.
evaluation_details: Option<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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AssignmentEvent
impl Debug for AssignmentEvent
source§impl<'de> Deserialize<'de> for AssignmentEvent
impl<'de> Deserialize<'de> for AssignmentEvent
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AssignmentEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AssignmentEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
source§impl PartialEq for AssignmentEvent
impl PartialEq for AssignmentEvent
source§impl Serialize for AssignmentEvent
impl Serialize for AssignmentEvent
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)