pub struct EventBatch {
pub attempts: u8,
pub events: Vec<StatsigEventInternal>,
}
Fields§
§attempts: u8
§events: Vec<StatsigEventInternal>
Implementations§
Source§impl EventBatch
impl EventBatch
pub fn new(events: Vec<StatsigEventInternal>) -> Self
pub fn get_log_event_request( &self, statsig_metadata: StatsigMetadataWithLogEventExtras, ) -> LogEventRequest
Auto Trait Implementations§
impl Freeze for EventBatch
impl RefUnwindSafe for EventBatch
impl Send for EventBatch
impl Sync for EventBatch
impl Unpin for EventBatch
impl UnwindSafe for EventBatch
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