pub struct FunnelContext {
pub funnel_id: String,
pub session_id: String,
pub placement_id: String,
pub placement_revision: i64,
pub revision: i64,
pub screen_id: Option<String>,
pub variant_id: Option<String>,
pub experiment_key: Option<String>,
}Expand description
Funnel-attribution payload for a funnel_* event.
Carries its own screen_id: without it a funnel is a single event and
an eight-screen onboarding is indistinguishable from a one-screen
funnel — there is no drop-off to see.
Fields§
§funnel_id: String§session_id: StringThe presentation id (open_funnel mints one per open, W10) — the
server requires it (W6) and the shaped wire carries it as the
ClickHouse sessionId.
placement_id: String§placement_revision: i64§revision: i64The published version the device is running.
screen_id: Option<String>Which screen this event is about. Absent on funnel-level events
(funnel_view, funnel_complete, funnel_dismiss).
variant_id: Option<String>§experiment_key: Option<String>Trait Implementations§
Source§impl Clone for FunnelContext
impl Clone for FunnelContext
Source§fn clone(&self) -> FunnelContext
fn clone(&self) -> FunnelContext
Returns a copy 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 FunnelContext
impl Debug for FunnelContext
Source§impl<'de> Deserialize<'de> for FunnelContext
impl<'de> Deserialize<'de> for FunnelContext
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 FunnelContext
impl RefUnwindSafe for FunnelContext
impl Send for FunnelContext
impl Sync for FunnelContext
impl Unpin for FunnelContext
impl UnwindSafe for FunnelContext
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