Struct casper_rust_wasm_sdk::watcher::HashString
source · pub struct HashString {
pub hash: String,
}
Fields§
§hash: String
Implementations§
Trait Implementations§
source§impl Clone for HashString
impl Clone for HashString
source§fn clone(&self) -> HashString
fn clone(&self) -> HashString
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 HashString
impl Debug for HashString
source§impl Default for HashString
impl Default for HashString
source§fn default() -> HashString
fn default() -> HashString
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HashString
impl<'de> Deserialize<'de> for HashString
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 Display for HashString
impl Display for HashString
source§impl From<HashString> for JsValue
impl From<HashString> for JsValue
source§fn from(value: HashString) -> Self
fn from(value: HashString) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for HashString
impl FromWasmAbi for HashString
source§impl IntoWasmAbi for HashString
impl IntoWasmAbi for HashString
source§impl LongRefFromWasmAbi for HashString
impl LongRefFromWasmAbi for HashString
source§impl OptionFromWasmAbi for HashString
impl OptionFromWasmAbi for HashString
source§impl OptionIntoWasmAbi for HashString
impl OptionIntoWasmAbi for HashString
source§impl RefFromWasmAbi for HashString
impl RefFromWasmAbi for HashString
§type Anchor = RcRef<HashString>
type Anchor = RcRef<HashString>
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 HashString
impl RefMutFromWasmAbi for HashString
source§impl Serialize for HashString
impl Serialize for HashString
source§impl TryFromJsValue for HashString
impl TryFromJsValue for HashString
source§impl VectorFromWasmAbi for HashString
impl VectorFromWasmAbi for HashString
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[HashString]>
source§impl VectorIntoJsValue for HashString
impl VectorIntoJsValue for HashString
fn vector_into_jsvalue(vector: Box<[HashString]>) -> JsValue
source§impl VectorIntoWasmAbi for HashString
impl VectorIntoWasmAbi for HashString
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[HashString]>) -> Self::Abi
source§impl WasmDescribeVector for HashString
impl WasmDescribeVector for HashString
Auto Trait Implementations§
impl Freeze for HashString
impl RefUnwindSafe for HashString
impl Send for HashString
impl Sync for HashString
impl Unpin for HashString
impl UnwindSafe for HashString
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
.