Skip to content
ratranqu edited this page Jan 28, 2021 · 5 revisions

Coin

public struct Coin: Codable

Inheritance

Codable, Comparable

Initializers

init(denomination:amount:)

public init(denomination: String, amount: UInt)

init(from:)

public init(from decoder: Decoder) throws

Methods

encode(to:)

public func encode(to encoder: Encoder) throws

<(lhs:rhs:)

public static func <(lhs: Coin, rhs: Coin) -> Bool

Clone this wiki locally