pub struct FastStreamingElement {
pub element_type: FastElementType,
pub raw_content: Vec<u8>,
pub position: u64,
pub size: usize,
pub parsed_at: Instant,
}Expand description
Fast streaming element with minimal allocation
Fields§
§element_type: FastElementTypeElement type (Release, Resource, Party, etc.)
raw_content: Vec<u8>Raw XML content (zero-copy reference)
position: u64Byte position in original stream
size: usizeSize in bytes
parsed_at: InstantParse timestamp
Trait Implementations§
Source§impl Clone for FastStreamingElement
impl Clone for FastStreamingElement
Source§fn clone(&self) -> FastStreamingElement
fn clone(&self) -> FastStreamingElement
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 FastStreamingElement
impl RefUnwindSafe for FastStreamingElement
impl Send for FastStreamingElement
impl Sync for FastStreamingElement
impl Unpin for FastStreamingElement
impl UnwindSafe for FastStreamingElement
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