Sample
struct Sample : Codable
The Statistic.Sample struct represents a single group of statistics,
with the raw stats being made available via the metrics property.
-
The name of the sample, if applicable. For instance, if these are category stats, then this property will have the name of the category.
Declaration
Swift
public let name: String?
-
Initializes the struct.
Declaration
Parameters
metricsThe raw metrics for each email event type.
nameThe name of the sample (e.g. the name of the category).
typeThe dimension type these stats have been grouped by.
View on GitHub
Sample Structure Reference