Closed brycx closed 2 years ago
See https://github.com/brycx/pasetors/issues/54
AsymmetricKeyPair, SymmetricKey and AsymmetricSecretKey shouldn't have Clone unless a real use-case comes up since they hold secret data.
AsymmetricKeyPair
SymmetricKey
AsymmetricSecretKey
Clone
LocalToken/PublicToken structs for each given version shouldn't need it because you never actually create and instance of either.
LocalToken
PublicToken
The rest of the types should implement the following traits now at least: Debug, PartialEq and Clone.
Debug
PartialEq
See https://github.com/brycx/pasetors/issues/54
AsymmetricKeyPair
,SymmetricKey
andAsymmetricSecretKey
shouldn't haveClone
unless a real use-case comes up since they hold secret data.LocalToken
/PublicToken
structs for each given version shouldn't need it because you never actually create and instance of either.The rest of the types should implement the following traits now at least:
Debug
,PartialEq
andClone
.