pub enum MinimalElement {
Header {
message_id: String,
created_date_time: String,
version: ERNVersion,
},
Release {
reference: String,
title: String,
},
Resource {
reference: String,
title: String,
},
EndOfStream,
}Expand description
Minimal parsed element for streaming
Variants§
Header
Message header found
Release
Release element found
Resource
Resource element found
EndOfStream
End of stream
Trait Implementations§
Source§impl Clone for MinimalElement
impl Clone for MinimalElement
Source§fn clone(&self) -> MinimalElement
fn clone(&self) -> MinimalElement
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 MinimalElement
impl RefUnwindSafe for MinimalElement
impl Send for MinimalElement
impl Sync for MinimalElement
impl Unpin for MinimalElement
impl UnwindSafe for MinimalElement
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