pub struct SerializedValue {
pub dest: Option<String>,
pub payload: Vec<u8>,
}Expand description
One serialized record update, produced by a fused SerializedReader
Carries the wire payload plus the destination resolved by the link’s
TopicProvider while the typed value was still in hand — the last
erasure crossing the old topic_any(&dyn Any) path required.
Fields§
§dest: Option<String>Dynamic destination resolved by the link’s TopicProvider<T>;
None means use the route’s default topic (from the URL).
payload: Vec<u8>Wire payload from the link’s serializer.
Vec<u8> requires heap allocation; works on std and
no_std + alloc (not bare-metal without an allocator).
Trait Implementations§
Source§impl Clone for SerializedValue
impl Clone for SerializedValue
Source§fn clone(&self) -> SerializedValue
fn clone(&self) -> SerializedValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SerializedValue
impl Debug for SerializedValue
impl Eq for SerializedValue
Source§impl PartialEq for SerializedValue
impl PartialEq for SerializedValue
impl StructuralPartialEq for SerializedValue
Auto Trait Implementations§
impl Freeze for SerializedValue
impl RefUnwindSafe for SerializedValue
impl Send for SerializedValue
impl Sync for SerializedValue
impl Unpin for SerializedValue
impl UnsafeUnpin for SerializedValue
impl UnwindSafe for SerializedValue
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