The package collection
let collection: PackageCollectionModel.V1.Collection
s23PackageCollectionsModel0a10CollectionC0O2V1O06SignedD0V10collectionAE0D0Vvp
39DW
import PackageCollectionsModel
struct SignedCollection
A signed package collection. The only difference between this and Collection is the presence of signature.
Collection
signature
enum PackageCollectionModel
enum V1
struct Collection
init(collection: PackageCollectionModel.V1.Collection, signature: PackageCollectionModel.V1.Signature)
Creates a SignedCollection
SignedCollection
init(from decoder: Decoder) throws
let signature: PackageCollectionModel.V1.Signature
The signature and metadata
func encode(to encoder: Encoder) throws