feat: Conforming types to Sendable
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import Foundation
|
||||
|
||||
public struct EquipmentMetadata: Equatable {
|
||||
public struct EquipmentMetadata: Equatable, Sendable {
|
||||
public var coolingCapacity: CoolingCapacity
|
||||
public var fanType: FanType
|
||||
public var ratedStaticPressures: RatedStaticPressures
|
||||
@@ -15,7 +15,7 @@ public struct EquipmentMetadata: Equatable {
|
||||
self.ratedStaticPressures = ratedStaticPressures
|
||||
}
|
||||
|
||||
public enum CoolingCapacity: Double, Equatable, CaseIterable, Identifiable, CustomStringConvertible {
|
||||
public enum CoolingCapacity: Double, Equatable, CaseIterable, Identifiable, CustomStringConvertible, Sendable {
|
||||
case half = 0.5
|
||||
case threeQuarter = 0.75
|
||||
case one = 1
|
||||
@@ -57,7 +57,7 @@ public struct EquipmentMetadata: Equatable {
|
||||
}
|
||||
}
|
||||
|
||||
public enum FanType: Hashable, Equatable, CaseIterable, CustomStringConvertible, Identifiable {
|
||||
public enum FanType: Hashable, Equatable, CaseIterable, CustomStringConvertible, Identifiable, Sendable {
|
||||
case constantSpeed
|
||||
case variableSpeed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user