Compatibility
Compatible platform and Swift version.
struct CompatibilityCompatible platform and Swift version.
struct Compatibilitys23PackageCollectionsModel0a10CollectionC0O2V1O13CompatibilityV What are these?2RPLWimport PackageCollectionsModelenum V1enum PackageCollectionModelstruct Collectionstruct Licensestruct Platformstruct PlatformVersionstruct Productenum ProductTypeThe type of product.
struct SignaturePackage collection signature and associated metadata
struct SignedCollectionA signed package collection. The only difference between this and Collection is the presence of signature.
struct Signerstruct Targetprotocol Comparable : EquatableA type that can be compared using the relational operators <, <=, >=, and >.
protocol CopyableA type whose values can be implicitly or explicitly copied.
protocol DecodableA type that can decode itself from an external representation.
protocol EncodableA type that can encode itself to an external representation.
protocol EquatableA type that can be compared for value equality.
protocol Escapableinit(from decoder: any Decoder) throws init(platform: PackageCollectionModel.V1.Platform, swiftVersion: String) Creates a Compatibility
let platform: PackageCollectionModel.V1.PlatformThe platform (e.g., macOS, Linux, etc.)
let swiftVersion: StringThe Swift version
static func < (lhs: PackageCollectionModel.V1.Compatibility, rhs: PackageCollectionModel.V1.Compatibility) -> Bool static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
static func ... (minimum: Self) -> PartialRangeFrom<Self> Returns a partial range extending upward from a lower bound.
static func ... (maximum: Self) -> PartialRangeThrough<Self> Returns a partial range up to, and including, its upper bound.
static func ... (minimum: Self, maximum: Self) -> ClosedRange<Self> Returns a closed range that contains both of its bounds.
static func ..< (maximum: Self) -> PartialRangeUpTo<Self> Returns a partial range up to, but not including, its upper bound.
static func ..< (minimum: Self, maximum: Self) -> Range<Self> Returns a half-open range that contains its lower bound but not its upper bound.
static func <= (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument.
static func > (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
static func >= (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument.