pub struct StreamItem {
pub key: String,
pub value: Item,
}Expand description
An item yielded by the streaming parser
Fields§
§key: StringKey/field name in the HEDL document
value: ItemThe parsed value (scalar, object, or list)
Trait Implementations§
Source§impl Clone for StreamItem
impl Clone for StreamItem
Source§fn clone(&self) -> StreamItem
fn clone(&self) -> StreamItem
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 moreAuto Trait Implementations§
impl Freeze for StreamItem
impl RefUnwindSafe for StreamItem
impl Send for StreamItem
impl Sync for StreamItem
impl Unpin for StreamItem
impl UnwindSafe for StreamItem
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