Struct casper_rust_wasm_sdk::watcher::Messages
source · pub struct Messages {
pub entity_hash: String,
pub message: Message,
pub topic_name: String,
pub topic_name_hash: String,
pub topic_index: u32,
pub block_index: u64,
}
Fields§
§entity_hash: String
§message: Message
§topic_name: String
§topic_name_hash: String
§topic_index: u32
§block_index: u64
Trait Implementations§
source§impl<'de> Deserialize<'de> for Messages
impl<'de> Deserialize<'de> for Messages
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 FromWasmAbi for Messages
impl FromWasmAbi for Messages
source§impl IntoWasmAbi for Messages
impl IntoWasmAbi for Messages
source§impl LongRefFromWasmAbi for Messages
impl LongRefFromWasmAbi for Messages
source§impl OptionFromWasmAbi for Messages
impl OptionFromWasmAbi for Messages
source§impl OptionIntoWasmAbi for Messages
impl OptionIntoWasmAbi for Messages
source§impl RefFromWasmAbi for Messages
impl RefFromWasmAbi for Messages
source§impl RefMutFromWasmAbi for Messages
impl RefMutFromWasmAbi for Messages
source§impl TryFromJsValue for Messages
impl TryFromJsValue for Messages
source§impl VectorFromWasmAbi for Messages
impl VectorFromWasmAbi for Messages
source§impl VectorIntoWasmAbi for Messages
impl VectorIntoWasmAbi for Messages
Auto Trait Implementations§
impl Freeze for Messages
impl RefUnwindSafe for Messages
impl Send for Messages
impl Sync for Messages
impl Unpin for Messages
impl UnwindSafe for Messages
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
.