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: u8
Version of the Web3 Secret storage definition specification.
id: Uuid
Unique 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§
Source§impl<'de> Deserialize<'de> for KeyStore
impl<'de> Deserialize<'de> for KeyStore
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
Auto Trait Implementations§
impl Freeze for KeyStore
impl RefUnwindSafe for KeyStore
impl Send for KeyStore
impl Sync for KeyStore
impl Unpin for KeyStore
impl UnwindSafe for KeyStore
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