Attachment
public struct Attachment
extension Attachment: Equatable, Hashable
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)
-
Declaration
Swift
public static func == (lhs: Attachment, rhs: Attachment) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)