ShortDoc

public struct ShortDoc : Codable, Equatable

Brief information about the input document.

  • The title of the input document, if identified.

    Declaration

    Swift

    public var title: String?
  • The MD5 hash of the input document.

    Declaration

    Swift

    public var hash: String?
  • Initialize a ShortDoc with member variables.

    Declaration

    Swift

    public init(
        title: String? = nil,
        hash: String? = nil
    )

    Parameters

    title

    The title of the input document, if identified.

    hash

    The MD5 hash of the input document.

    Return Value

    An initialized ShortDoc.