Struct near_crypto::KeyFile
source · pub struct KeyFile {
pub account_id: AccountId,
pub public_key: PublicKey,
pub secret_key: SecretKey,
}
Fields§
§account_id: AccountId
§public_key: PublicKey
§secret_key: SecretKey
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for KeyFile
impl<'de> Deserialize<'de> for KeyFile
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&InMemorySigner> for KeyFile
impl From<&InMemorySigner> for KeyFile
source§fn from(signer: &InMemorySigner) -> KeyFile
fn from(signer: &InMemorySigner) -> KeyFile
Converts to this type from the input type.
source§impl From<KeyFile> for InMemorySigner
impl From<KeyFile> for InMemorySigner
Auto Trait Implementations§
impl RefUnwindSafe for KeyFile
impl Send for KeyFile
impl Sync for KeyFile
impl Unpin for KeyFile
impl UnwindSafe for KeyFile
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