History

struct History : Codable, Hashable, Sendable

Represents daily usage history of a link.

  • Undocumented

    Declaration

    Swift

    public init(day: String,
                uses: String,
                accounts: String)
  • day

    UNIX timestamp on midnight of the given day.

    Declaration

    Swift

    public let day: String
  • the counted usage of the link within that day.

    Declaration

    Swift

    public let uses: String
  • the total of accounts posting the link within that day.

    Declaration

    Swift

    public let accounts: String