pub struct Ed25519Secret(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for Ed25519Secret
impl Clone for Ed25519Secret
Source§fn clone(&self) -> Ed25519Secret
fn clone(&self) -> Ed25519Secret
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Display for Ed25519Secret
impl Display for Ed25519Secret
Source§impl DisplayBaid64<64> for Ed25519Secret
impl DisplayBaid64<64> for Ed25519Secret
const HRI: &'static str = "ed25519-priv"
const CHUNKING: bool = false
const PREFIX: bool = true
const EMBED_CHECKSUM: bool = true
const MNEMONIC: bool = false
fn to_baid64_payload(&self) -> [u8; 64]
fn to_baid64_string(&self) -> String
fn to_baid64_mnemonic(&self) -> String
fn display_baid64(&self) -> Baid64Display<LEN>
fn fmt_baid64(&self, f: &mut Formatter<'_>) -> Result<(), Error>
Source§impl From<Ed25519Secret> for [u8; 64]
impl From<Ed25519Secret> for [u8; 64]
Source§fn from(ssi: Ed25519Secret) -> Self
fn from(ssi: Ed25519Secret) -> Self
Converts to this type from the input type.
Source§impl FromBaid64Str<64> for Ed25519Secret
impl FromBaid64Str<64> for Ed25519Secret
fn from_baid64_str(s: &str) -> Result<Self, Baid64ParseError>
Source§impl FromStr for Ed25519Secret
impl FromStr for Ed25519Secret
Source§impl Hash for Ed25519Secret
impl Hash for Ed25519Secret
Source§impl Ord for Ed25519Secret
impl Ord for Ed25519Secret
Source§impl PartialEq for Ed25519Secret
impl PartialEq for Ed25519Secret
Source§impl PartialOrd for Ed25519Secret
impl PartialOrd for Ed25519Secret
impl Eq for Ed25519Secret
impl StructuralPartialEq for Ed25519Secret
Auto Trait Implementations§
impl Freeze for Ed25519Secret
impl RefUnwindSafe for Ed25519Secret
impl Send for Ed25519Secret
impl Sync for Ed25519Secret
impl Unpin for Ed25519Secret
impl UnwindSafe for Ed25519Secret
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