public struct SectionTitles : Codable, Equatable
An array containing one object per section or subsection detected in the input document. Sections and subsections are
not nested; instead, they are flattened out and can be placed back in order by using the
end values of
the element and the
level value of the section.
The text of the section title, if identified.
public var text: String?
The numeric location of the identified element in the document, represented with two integers labeled
public var location: Location?
An integer indicating the level at which the section is located in the input document. For example,
1represents a top-level section,
2represents a subsection within the level
1section, and so forth.
public var level: Int?