SignedCollection
A signed package collection. The only difference between this and Collection
is the presence of signature
.
struct SignedCollection
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (10) members.
Types
struct Collection
struct Compatibility
Compatible platform and Swift version.
struct License
struct Platform
struct PlatformVersion
struct Product
enum ProductType
The type of product.
struct Signature
Package collection signature and associated metadata
struct Signer
struct Target
Citizens in PackageCollectionsModel
Conformances
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
Type members
init(collection: PackageCollectionModel.V1.Collection, signature: PackageCollectionModel.V1.Signature
) Creates a
SignedCollection
init(from: Decoder
) throws
Instance members
let collection: PackageCollectionModel.V1.Collection
The package collection
let signature: PackageCollectionModel.V1.Signature
The signature and metadata
func encode(to: Encoder
) throws
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.