TaxonLineageItem
public struct TaxonLineageItem : TaxonRepresenting, Decodable
The TaxonLineageItem is a value that describes an element from a retrieved
taxon’s lineage.
-
Declaration
Swift
public let identifier: TaxonID -
Declaration
Swift
public let name: String -
Declaration
Swift
public let rank: TaxonomicRank? -
Initializes a new instance using its three defining parameters.
Declaration
Swift
public init(identifier: TaxonID, name: String, rank: TaxonomicRank?)Parameters
identifierThe internal NCBI identifier for the record.
nameThe scientific name of the record.
rankThe rank of the record or
nilif not set. -
Declaration
Swift
public var hasRank: Bool { get }
View on GitHub
Install in Dash
TaxonLineageItem Structure Reference