-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-credential Model #1313
base: main
Are you sure you want to change the base?
Multi-credential Model #1313
Conversation
Credentials' traits summed upFirst and foremost we have pub trait VerifiableCredentialT<'c>: CredentialT {
type Proof;
fn proof(&'c self) -> Self::Proof;
}
Finally we have
pub trait StatusT {
type State;
fn type_(&self) -> &str;
} The associated type
|
Very clanky but it lets us discuss the design with some code at hand