Struct casper_rust_wasm_sdk::watcher::PublicKeyString
source · pub struct PublicKeyString {
pub public_key: String,
}
Fields§
§public_key: String
Trait Implementations§
source§impl Clone for PublicKeyString
impl Clone for PublicKeyString
source§fn clone(&self) -> PublicKeyString
fn clone(&self) -> PublicKeyString
Returns a copy of the value. Read more
1.0.0 · 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 PublicKeyString
impl Debug for PublicKeyString
source§impl Default for PublicKeyString
impl Default for PublicKeyString
source§fn default() -> PublicKeyString
fn default() -> PublicKeyString
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PublicKeyString
impl<'de> Deserialize<'de> for PublicKeyString
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<PublicKeyString> for JsValue
impl From<PublicKeyString> for JsValue
source§fn from(value: PublicKeyString) -> Self
fn from(value: PublicKeyString) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for PublicKeyString
impl FromWasmAbi for PublicKeyString
source§impl IntoWasmAbi for PublicKeyString
impl IntoWasmAbi for PublicKeyString
source§impl LongRefFromWasmAbi for PublicKeyString
impl LongRefFromWasmAbi for PublicKeyString
source§impl OptionFromWasmAbi for PublicKeyString
impl OptionFromWasmAbi for PublicKeyString
source§impl OptionIntoWasmAbi for PublicKeyString
impl OptionIntoWasmAbi for PublicKeyString
source§impl RefFromWasmAbi for PublicKeyString
impl RefFromWasmAbi for PublicKeyString
§type Anchor = RcRef<PublicKeyString>
type Anchor = RcRef<PublicKeyString>
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 PublicKeyString
impl RefMutFromWasmAbi for PublicKeyString
source§impl Serialize for PublicKeyString
impl Serialize for PublicKeyString
source§impl TryFromJsValue for PublicKeyString
impl TryFromJsValue for PublicKeyString
source§impl VectorFromWasmAbi for PublicKeyString
impl VectorFromWasmAbi for PublicKeyString
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[PublicKeyString]>
source§impl VectorIntoJsValue for PublicKeyString
impl VectorIntoJsValue for PublicKeyString
fn vector_into_jsvalue(vector: Box<[PublicKeyString]>) -> JsValue
source§impl VectorIntoWasmAbi for PublicKeyString
impl VectorIntoWasmAbi for PublicKeyString
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[PublicKeyString]>) -> Self::Abi
source§impl WasmDescribeVector for PublicKeyString
impl WasmDescribeVector for PublicKeyString
Auto Trait Implementations§
impl Freeze for PublicKeyString
impl RefUnwindSafe for PublicKeyString
impl Send for PublicKeyString
impl Sync for PublicKeyString
impl Unpin for PublicKeyString
impl UnwindSafe for PublicKeyString
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§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
.