pub enum ProofRole {
Principal,
Notary,
}Expand description
Which signature’s base is being built (spec §7.2.1).
Variants§
Principal
The human principal’s own proof — the head of a chain.
Notary
The notary’s proof: a lone proof, or the countersignature of a chain.
Trait Implementations§
impl Copy for ProofRole
impl Eq for ProofRole
impl StructuralPartialEq for ProofRole
Auto Trait Implementations§
impl Freeze for ProofRole
impl RefUnwindSafe for ProofRole
impl Send for ProofRole
impl Sync for ProofRole
impl Unpin for ProofRole
impl UnsafeUnpin for ProofRole
impl UnwindSafe for ProofRole
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