Default Memberwise Initializers for Structure Types
The default memberwise initializer for a structure type is considered private if any of the structure’s stored properties are private. Likewise, if any of the structure’s stored properties are file private, the initializer is file private. Otherwise, the initializer has an access level of internal.
As with the default initializer above, if you want a public structure type to be initializable with a memberwise initializer when used in another module, you must provide a public memberwise initializer yourself as part of the type’s definition.
This PR adds provides that public memberwise initializer.
I was trying to initialise this class from another module and ran into the error:
'ClientCertificate' initializer is inaccessible due to 'internal' protection level
From the apple swift docs:
This PR adds provides that public memberwise initializer.