pub struct Envelope {
pub schema_version: u32,
pub checksum: String,
pub payload_json: String,
}Expand description
Route archive v2 framing, kept byte compatible.
Fields§
§schema_version: u32The version of the record format in payload_json.
checksum: StringThe lowercase hexadecimal SHA-256 of the payload_json bytes.
payload_json: StringThe record as JSON text.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Envelope
impl<'de> Deserialize<'de> for Envelope
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
impl StructuralPartialEq for Envelope
Auto Trait Implementations§
impl Forget for Envelope
impl Freeze for Envelope
impl Move for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelopewhere
RawVecInner: Send,
impl Sync for Envelopewhere
RawVecInner: Sync,
impl Unpin for Envelope
impl UnsafeUnpin for Envelope
impl UnwindSafe for Envelopewhere
RawVecInner: UnwindSafe,
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