1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// SPDX-FileCopyrightText: 2024 Yarmo Mackenbach // // SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: MIT use crate::claim::Claim; /// Identity profile containing claims pub trait Profile { /// Profile identifier fn get_id(&self) -> String; /// Public key fingerprint fn get_proofs(&self) -> Option<String>; /// Identity fn get_claims(&self) -> Vec<Claim>; }