pub struct PrivateKey {
pub key: Vec<u8>,
}Fields§
§key: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for PrivateKey
impl Clone for PrivateKey
Source§fn clone(&self) -> PrivateKey
fn clone(&self) -> PrivateKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrivateKey
impl Debug for PrivateKey
Source§impl<'de> Deserialize<'de> for PrivateKey
impl<'de> Deserialize<'de> for PrivateKey
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
impl Eq for PrivateKey
Source§impl From<PrivateKey> for JsValue
impl From<PrivateKey> for JsValue
Source§fn from(value: PrivateKey) -> Self
fn from(value: PrivateKey) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for PrivateKey
impl FromWasmAbi for PrivateKey
Source§impl IntoWasmAbi for PrivateKey
impl IntoWasmAbi for PrivateKey
Source§impl LongRefFromWasmAbi for PrivateKey
impl LongRefFromWasmAbi for PrivateKey
Source§type Abi = WasmPtr<WasmRefCell<PrivateKey>>
type Abi = WasmPtr<WasmRefCell<PrivateKey>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<PrivateKey>
type Anchor = RcRef<PrivateKey>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl OptionFromWasmAbi for PrivateKey
impl OptionFromWasmAbi for PrivateKey
Source§impl OptionIntoWasmAbi for PrivateKey
impl OptionIntoWasmAbi for PrivateKey
Source§impl PartialEq for PrivateKey
impl PartialEq for PrivateKey
Source§impl RefFromWasmAbi for PrivateKey
impl RefFromWasmAbi for PrivateKey
Source§type Abi = WasmPtr<WasmRefCell<PrivateKey>>
type Abi = WasmPtr<WasmRefCell<PrivateKey>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<PrivateKey>
type Anchor = RcRef<PrivateKey>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for PrivateKey
impl RefMutFromWasmAbi for PrivateKey
Source§type Abi = WasmPtr<WasmRefCell<PrivateKey>>
type Abi = WasmPtr<WasmRefCell<PrivateKey>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<PrivateKey>
type Anchor = RcRefMut<PrivateKey>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl Serialize for PrivateKey
impl Serialize for PrivateKey
impl StructuralPartialEq for PrivateKey
impl SupportsConstructor for PrivateKey
impl SupportsInstanceProperty for PrivateKey
impl SupportsStaticProperty for PrivateKey
Source§impl TryFromJsValue for PrivateKey
impl TryFromJsValue for PrivateKey
Source§impl VectorFromWasmAbi for PrivateKey
impl VectorFromWasmAbi for PrivateKey
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[PrivateKey]>
Source§impl VectorIntoWasmAbi for PrivateKey
impl VectorIntoWasmAbi for PrivateKey
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[PrivateKey]>) -> Self::Abi
Source§impl WasmDescribeVector for PrivateKey
impl WasmDescribeVector for PrivateKey
Auto Trait Implementations§
impl Freeze for PrivateKey
impl RefUnwindSafe for PrivateKey
impl Send for PrivateKey
impl Sync for PrivateKey
impl Unpin for PrivateKey
impl UnsafeUnpin for PrivateKey
impl UnwindSafe for PrivateKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.