pub struct EventTrackingInput {
pub event: String,
pub properties: MaybeUndefined<Value>,
pub session_id: MaybeUndefined<String>,
}Expand description
Input for tracking an anonymous analytics event.
Fields§
§event: StringThe event name to track.
properties: MaybeUndefined<Value>Optional properties for the event.
session_id: MaybeUndefined<String>Client session ID for PostHog session correlation.
Trait Implementations§
Source§impl Clone for EventTrackingInput
impl Clone for EventTrackingInput
Source§fn clone(&self) -> EventTrackingInput
fn clone(&self) -> EventTrackingInput
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 EventTrackingInput
impl Debug for EventTrackingInput
Source§impl Default for EventTrackingInput
impl Default for EventTrackingInput
Source§fn default() -> EventTrackingInput
fn default() -> EventTrackingInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventTrackingInput
impl<'de> Deserialize<'de> for EventTrackingInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EventTrackingInput
impl RefUnwindSafe for EventTrackingInput
impl Send for EventTrackingInput
impl Sync for EventTrackingInput
impl Unpin for EventTrackingInput
impl UnsafeUnpin for EventTrackingInput
impl UnwindSafe for EventTrackingInput
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