pub struct Identity {
pub address: Address,
pub public_key: VerifyingKey,
pub secret_key: Option<SecretKey>,
}
Expand description
Combination of Address
, VerifyingKey
and optionally
SecretKey
.
Fields§
§address: Address
§public_key: VerifyingKey
§secret_key: Option<SecretKey>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnwindSafe for Identity
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