Struct web3_keystore::KeyStore
source · [−]pub struct KeyStore {
pub version: u8,
pub id: Uuid,
pub address: Option<String>,
pub label: Option<String>,
/* private fields */
}Expand description
Opaque type that represents an encrypted keystore based on the Web3 Secret Storage Definition.
Fields
version: u8Version of the Web3 Secret storage definition specification.
id: UuidUnique identifier for the keystore.
address: Option<String>Optional public address for the keystore (non-standard).
label: Option<String>Optional label for the keystore (non-standard).
Trait Implementations
sourceimpl<'de> Deserialize<'de> for KeyStore
impl<'de> Deserialize<'de> for KeyStore
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
Auto Trait Implementations
impl RefUnwindSafe for KeyStore
impl Send for KeyStore
impl Sync for KeyStore
impl Unpin for KeyStore
impl UnwindSafe for KeyStore
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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