pub struct SerializedPayload {
pub kind: PayloadKind,
pub bytes: Octets,
}Expand description
The serialized payload of a DATA submessage, kept as octets (8.3.5.17, 9.4.2.12, clause 10).
Fields§
§kind: PayloadKindValue or key.
bytes: OctetsThe octets, starting with the 4-octet SerializedPayloadHeader.
When read, this runs to the end of the submessage and so may include the padding that aligns the next submessage. When written, it is padded with zeros to a multiple of four.
Trait Implementations§
Source§impl Clone for SerializedPayload
impl Clone for SerializedPayload
Source§impl Debug for SerializedPayload
impl Debug for SerializedPayload
impl Eq for SerializedPayload
Source§impl PartialEq for SerializedPayload
impl PartialEq for SerializedPayload
impl StructuralPartialEq for SerializedPayload
Auto Trait Implementations§
impl Forget for SerializedPayload
impl Freeze for SerializedPayload
impl Move for SerializedPayload
impl RefUnwindSafe for SerializedPayload
impl Send for SerializedPayload
impl Sync for SerializedPayload
impl Unpin for SerializedPayload
impl UnsafeUnpin for SerializedPayload
impl UnwindSafe for SerializedPayload
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