pub enum WorkingStreamingElement {
MessageHeader {
message_id: String,
created_date_time: String,
version: ERNVersion,
},
Release {
reference: String,
title: String,
resource_references: Vec<String>,
},
SoundRecording {
reference: String,
title: String,
duration: Option<String>,
isrc: Option<String>,
},
Video {
reference: String,
title: String,
duration: Option<String>,
},
Image {
reference: String,
title: String,
width: Option<u32>,
height: Option<u32>,
},
Text {
reference: String,
title: String,
language_code: Option<String>,
},
EndOfStream {
stats: WorkingStreamingStats,
},
}Expand description
Functional streaming element for real-world use
Variants§
MessageHeader
Message header found
Release
Release element found
SoundRecording
Resource element found
Video
Video resource
Image
Image resource
Text
Text resource
EndOfStream
End of stream indicator
Fields
§
stats: WorkingStreamingStatsTrait Implementations§
Source§impl Clone for WorkingStreamingElement
impl Clone for WorkingStreamingElement
Source§fn clone(&self) -> WorkingStreamingElement
fn clone(&self) -> WorkingStreamingElement
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 WorkingStreamingElement
impl RefUnwindSafe for WorkingStreamingElement
impl Send for WorkingStreamingElement
impl Sync for WorkingStreamingElement
impl Unpin for WorkingStreamingElement
impl UnwindSafe for WorkingStreamingElement
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