27 lines
582 B
Swift
27 lines
582 B
Swift
|
//
|
||
|
// https://mczachurski.dev
|
||
|
// Copyright © 2023 Marcin Czachurski and the repository contributors.
|
||
|
// Licensed under the MIT License.
|
||
|
//
|
||
|
|
||
|
import Foundation
|
||
|
|
||
|
/// Information about trending hashtag.
|
||
|
public struct TagTrend: Codable {
|
||
|
|
||
|
/// Id number of tag.
|
||
|
public let id: Int
|
||
|
|
||
|
/// The value of the hashtag.
|
||
|
public let name: String
|
||
|
|
||
|
/// The value of the hashtag after the # sign.
|
||
|
public let hashtag: String
|
||
|
|
||
|
/// A link to the hashtag on the instance.
|
||
|
public let url: URL?
|
||
|
|
||
|
/// Total uses of hashtag.
|
||
|
public let total: Int
|
||
|
}
|