Metric

struct Metric : Codable

The Statistic.Metric struct represents the raw statistics for a given time period.

  • The number of block events for the given period.

    Declaration

    Swift

    public let blocks: Int
  • The number of emails dropped due to the address being on the bounce list for the given period.

    Declaration

    Swift

    public let bounceDrops: Int
  • The number of bounce events for the given period.

    Declaration

    Swift

    public let bounces: Int
  • The number of click events for the given period.

    Declaration

    Swift

    public let clicks: Int
  • The number of deferred events for the given period.

    Declaration

    Swift

    public let deferred: Int
  • The number of delivered events for the given period.

    Declaration

    Swift

    public let delivered: Int
  • The number of invalid email events for the given period.

    Declaration

    Swift

    public let invalidEmails: Int
  • The number of open events for the given period.

    Declaration

    Swift

    public let opens: Int
  • The number of processed events for the given period.

    Declaration

    Swift

    public let processed: Int
  • The number of requests for the given period.

    Declaration

    Swift

    public let requests: Int
  • The number of emails dropped due to the address being on the spam report list for the given period.

    Declaration

    Swift

    public let spamReportDrops: Int
  • The number of spam report events for the given period.

    Declaration

    Swift

    public let spamReports: Int
  • The number of unique click events for the given period.

    Declaration

    Swift

    public let uniqueClicks: Int
  • The number of unique open events for the given period.

    Declaration

    Swift

    public let uniqueOpens: Int
  • The number of emails dropped due to the address being on the unsubscribe list for the given period.

    Declaration

    Swift

    public let unsubscribeDrops: Int
  • The number of unsubscribe events for the given period.

    Declaration

    Swift

    public let unsubscribes: Int
  • Initializes the struct.

    Declaration

    Swift

    public init(blocks: Int,
                bounceDrops: Int,
                bounces: Int,
                clicks: Int,
                deferred: Int,
                delivered: Int,
                invalidEmails: Int,
                opens: Int,
                processed: Int,
                requests: Int,
                spamReportDrops: Int,
                spamReports: Int,
                uniqueClicks: Int,
                uniqueOpens: Int,
                unsubscribeDrops: Int,
                unsubscribes: Int)

    Parameters

    blocks

    The number of block events for the given period.

    bounceDrops

    The number of emails dropped due to the address being on the bounce list for the given period.

    bounces

    The number of bounce events for the given period.

    clicks

    The number of click events for the given period.

    deferred

    The number of deferred events for the given period.

    delivered

    The number of delivered events for the given period.

    invalidEmails

    The number of invalid email events for the given period.

    opens

    The number of open events for the given period.

    processed

    The number of processed events for the given period.

    requests

    The number of requests for the given period.

    spamReportDrops

    The number of emails dropped due to the address being on the spam report list for the given period.

    spamReports

    The number of spam report events for the given period.

    uniqueClicks

    The number of unique click events for the given period.

    uniqueOpens

    The number of unique open events for the given period.

    unsubscribeDrops

    The number of emails dropped due to the address being on the unsubscribe list for the given period.

    unsubscribes

    The number of unsubscribe events for the given period.