SegmentSpec.Screen (segment_spec v0.1.0) View Source

Represents a Segment screen event.

Link to this section Summary

Functions

Parses a Segment screen event into a SegmentSpec.Screen struct.

Link to this section Types

Specs

t() :: %SegmentSpec.Screen{
  anonymous_id: term(),
  context: term(),
  integrations: term(),
  message_id: term(),
  name: term(),
  properties: term(),
  received_at: term(),
  sent_at: term(),
  timestamp: term(),
  type: term(),
  user_id: term(),
  version: term()
}

Link to this section Functions

Link to this function

new(map_or_kwlist, opts \\ [])

View Source

Specs

new(ExConstructor.map_or_kwlist(), Keyword.t()) :: %SegmentSpec.Screen{
  anonymous_id: term(),
  context: term(),
  integrations: term(),
  message_id: term(),
  name: term(),
  properties: term(),
  received_at: term(),
  sent_at: term(),
  timestamp: term(),
  type: term(),
  user_id: term(),
  version: term()
}

Specs

parse!(map()) :: t()

Parses a Segment screen event into a SegmentSpec.Screen struct.