pub struct Profile {
pub platform: &'static str,
pub ceremony_version: u16,
pub token: Option<TokenSession>,
pub identity: Option<IdentitySession>,
}Expand description
One platform’s ceremony profile at one Platform Ceremony Version.
Fields§
§platform: &'static strThe platform name. platformId is its keccak256.
ceremony_version: u16A profile is the pair, not the name (REQ-PLAT-01).
token: Option<TokenSession>None where the profile notarizes nothing.
identity: Option<IdentitySession>Implementations§
Trait Implementations§
impl Copy for Profile
impl Eq for Profile
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more