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
sourceimpl<'de> Deserialize<'de> for KeyFile
impl<'de> Deserialize<'de> for KeyFile
sourcefn 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
sourceimpl From<&'_ InMemorySigner> for KeyFile
impl From<&'_ InMemorySigner> for KeyFile
sourcefn from(signer: &InMemorySigner) -> KeyFile
fn from(signer: &InMemorySigner) -> KeyFile
Converts to this type from the input type.
sourceimpl From<Arc<InMemorySigner>> for KeyFile
impl From<Arc<InMemorySigner>> for KeyFile
sourcefn from(signer: Arc<InMemorySigner>) -> KeyFile
fn from(signer: Arc<InMemorySigner>) -> KeyFile
Converts to this type from the input type.
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more