pub enum ZeroCopyElement {
MessageHeader {
message_id: String,
created_date_time: String,
version: ERNVersion,
},
Release {
reference: String,
title: String,
genre: Option<String>,
resource_references: Vec<String>,
},
SoundRecording {
reference: String,
title: String,
duration: Option<String>,
isrc: Option<String>,
creation_date: Option<String>,
},
Video {
reference: String,
title: String,
duration: Option<String>,
codec: Option<String>,
},
Image {
reference: String,
title: String,
width: Option<u32>,
height: Option<u32>,
format: Option<String>,
},
Text {
reference: String,
title: String,
language: Option<String>,
},
EndOfStream {
stats: ZeroCopyStats,
},
}
Expand description
High-performance parsed element
Variants§
MessageHeader
Release
SoundRecording
Fields
Video
Image
Fields
Text
EndOfStream
Fields
§
stats: ZeroCopyStats
Trait Implementations§
Source§impl Clone for ZeroCopyElement
impl Clone for ZeroCopyElement
Source§fn clone(&self) -> ZeroCopyElement
fn clone(&self) -> ZeroCopyElement
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 ZeroCopyElement
impl RefUnwindSafe for ZeroCopyElement
impl Send for ZeroCopyElement
impl Sync for ZeroCopyElement
impl Unpin for ZeroCopyElement
impl UnwindSafe for ZeroCopyElement
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