pub enum Tag {
PublicKey,
SecretKey,
KeyImage,
Signature,
Ownership,
Nonce,
}Expand description
Which kind of value a prefixed string carries. The string form is the human-readable prefix; it is also folded into the checksum.
Variants§
PublicKey
A crate::PublicKey — prefix pk.
SecretKey
A crate::SecretKey — prefix sk.
KeyImage
A crate::KeyImage — prefix ki.
Signature
A crate::Signature — prefix blsag.
Ownership
An crate::OwnershipProof — prefix own.
Nonce
A crate::Nonce — prefix nonce.
Implementations§
Trait Implementations§
impl Copy for Tag
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnsafeUnpin for Tag
impl UnwindSafe for Tag
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