Struct wasmrs_frames::RawPayload
source · pub struct RawPayload {
pub metadata: Option<Bytes>,
pub data: Option<Bytes>,
}
Expand description
A complete [Payload] object that includes metadata and data bytes.
Fields§
§metadata: Option<Bytes>
Metadata bytes if they exist.
data: Option<Bytes>
The core payload data bytes if it exists.
Implementations§
Trait Implementations§
source§impl Clone for RawPayload
impl Clone for RawPayload
source§fn clone(&self) -> RawPayload
fn clone(&self) -> RawPayload
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 RawPayload
impl Debug for RawPayload
source§impl Default for RawPayload
impl Default for RawPayload
source§fn default() -> RawPayload
fn default() -> RawPayload
Returns the “default value” for a type. Read more