Struct diem_sdk::client::views::EventWithProofView [−]
pub struct EventWithProofView {
pub event_with_proof: BytesView,
}
Fields
event_with_proof: BytesView
Trait Implementations
impl Clone for EventWithProofView
impl Clone for EventWithProofView
pub fn clone(&self) -> EventWithProofView
pub fn clone(&self) -> EventWithProofView
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for EventWithProofView
impl Debug for EventWithProofView
impl<'de> Deserialize<'de> for EventWithProofView
impl<'de> Deserialize<'de> for EventWithProofView
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<EventWithProofView, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<EventWithProofView, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<EventWithProofView> for EventWithProofView
impl PartialEq<EventWithProofView> for EventWithProofView
pub fn eq(&self, other: &EventWithProofView) -> bool
pub fn eq(&self, other: &EventWithProofView) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &EventWithProofView) -> bool
pub fn ne(&self, other: &EventWithProofView) -> bool
This method tests for !=
.
impl Serialize for EventWithProofView
impl Serialize for EventWithProofView
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'_> TryFrom<&'_ EventWithProof<TransactionInfo>> for EventWithProofView
impl<'_> TryFrom<&'_ EventWithProof<TransactionInfo>> for EventWithProofView
pub fn try_from(
event: &EventWithProof<TransactionInfo>
) -> Result<EventWithProofView, Error>
pub fn try_from(
event: &EventWithProof<TransactionInfo>
) -> Result<EventWithProofView, Error>
Performs the conversion.
impl<'_> TryFrom<&'_ EventWithProofView> for EventWithProof<TransactionInfo>
impl<'_> TryFrom<&'_ EventWithProofView> for EventWithProof<TransactionInfo>
pub fn try_from(
view: &EventWithProofView
) -> Result<EventWithProof<TransactionInfo>, Error>
pub fn try_from(
view: &EventWithProofView
) -> Result<EventWithProof<TransactionInfo>, Error>
Performs the conversion.
impl StructuralPartialEq for EventWithProofView
Auto Trait Implementations
impl RefUnwindSafe for EventWithProofView
impl Send for EventWithProofView
impl Sync for EventWithProofView
impl Unpin for EventWithProofView
impl UnwindSafe for EventWithProofView
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Generates a hash used only for tests.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more