PagedContent
public struct PagedContent<Content> : Equatable, Codable where Content : Decodable, Content : Encodable, Content : Equatable
Container format for handling paged FHIR content.
-
Initializes a PagedContent with a given content and an optional next page link.
Declaration
Swift
public init(content: Content, next: URL?)Parameters
contentActual content of this page.
nextSet if the content of this page is not the last page, nil otherwise.
-
Actual content of a page
Declaration
Swift
public let content: Content -
Link to the content of the next page
Declaration
Swift
public let next: URL?
View on GitHub
PagedContent Structure Reference