TaxonRepresenting

public protocol TaxonRepresenting : CustomStringConvertible, Hashable

Any type that encapsulates the minimum data required to identify a record from the NCBI’s Taxonomy database (this is the record ID), plus some basic properties (name and rank) that describe the record.

  • ==(_:_:) Extension method

    Returns a Boolean value indicating whether two values are equal. Two TaxonRepresenting values are equal when they have the same identifier.

    Declaration

    Swift

    public static func == (lhs: Self, rhs: Self) -> Bool

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

  • hash(into:) Extension method

    The hash value depends on the identifier.

    Declaration

    Swift

    public func hash(into hasher: inout Hasher)
  • description Extension method

    A textual representation of this instance.

    Declaration

    Swift

    public var description: String { get }