Struct hdk_crud::example::ExampleWireEntry [−][src]
pub struct ExampleWireEntry {
pub entry: Example,
pub address: WrappedHeaderHash,
pub entry_address: WrappedEntryHash,
}
Expand description
This data structure will be very broadly useful and represents
how an entry should be serialized along with what metadata to
form a consistent pattern that the UI or client can expect.
It is called ExampleWireEntry
because it is how data looks passed
‘over the wire’ or network.
Fields
entry: Example
address: WrappedHeaderHash
entry_address: WrappedEntryHash
Trait Implementations
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
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ExampleWireEntry
impl Send for ExampleWireEntry
impl Sync for ExampleWireEntry
impl Unpin for ExampleWireEntry
impl UnwindSafe for ExampleWireEntry
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more