pub struct KeyImportResult {
pub public_key: Vec<u8>,
pub curve: CurveType,
pub alias: String,
}Expand description
Result of a successful key import.
Fields§
§public_key: Vec<u8>The public key derived from the seed (32 bytes Ed25519, 33 bytes P-256 compressed).
curve: CurveTypeThe curve of the imported key.
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 (const: unstable) · 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