metatext-app-ios-iphone-ipad/Mastodon/Sources/Mastodon/Entities/Context.swift

14 lines
334 B
Swift
Raw Normal View History

2020-08-31 01:33:11 +02:00
// Copyright © 2020 Metabolist. All rights reserved.
import Foundation
2020-08-31 01:59:49 +02:00
public struct Context: Codable, Hashable {
2020-08-31 01:33:11 +02:00
public let ancestors: [Status]
public let descendants: [Status]
public init(ancestors: [Status], descendants: [Status]) {
self.ancestors = ancestors
self.descendants = descendants
}
}