pub struct StreamFrame {
pub data: Value,
pub priority: Priority,
pub metadata: HashMap<String, String>,
}
Expand description
Stream frame with priority and metadata
Fields§
§data: Value
JSON data payload
priority: Priority
Frame priority for streaming order
metadata: HashMap<String, String>
Additional metadata for processing
Trait Implementations§
Source§impl Clone for StreamFrame
impl Clone for StreamFrame
Source§fn clone(&self) -> StreamFrame
fn clone(&self) -> StreamFrame
Returns a duplicate 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 StreamFrame
impl Debug for StreamFrame
Auto Trait Implementations§
impl Freeze for StreamFrame
impl RefUnwindSafe for StreamFrame
impl Send for StreamFrame
impl Sync for StreamFrame
impl Unpin for StreamFrame
impl UnwindSafe for StreamFrame
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