Attachment

public struct Attachment : Equatable, Hashable
extension Attachment: Sendable

Attachment metadata that can be optionally attached to a [Record]. The [location] should included in calls to [Client::get_attachment].

  • Declaration

    Swift

    public var filename: String
  • Declaration

    Swift

    public var mimetype: String
  • Declaration

    Swift

    public var location: String
  • Declaration

    Swift

    public var hash: String
  • Declaration

    Swift

    public var size: UInt64
  • Declaration

    Swift

    public init(filename: String, mimetype: String, location: String, hash: String, size: UInt64)