pub struct KeyImportResult {
pub public_key: [u8; 32],
pub alias: String,
}Expand description
Result of a successful key import.
Fields§
§public_key: [u8; 32]The 32-byte Ed25519 public key derived from the seed.
alias: StringThe alias under which the key was stored.
Trait Implementations§
Source§impl Clone for KeyImportResult
impl Clone for KeyImportResult
Source§fn clone(&self) -> KeyImportResult
fn clone(&self) -> KeyImportResult
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 moreAuto Trait Implementations§
impl Freeze for KeyImportResult
impl RefUnwindSafe for KeyImportResult
impl Send for KeyImportResult
impl Sync for KeyImportResult
impl Unpin for KeyImportResult
impl UnsafeUnpin for KeyImportResult
impl UnwindSafe for KeyImportResult
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