pub struct TrackMetadata {
pub album: Option<String>,
pub artist: Option<String>,
pub artwork: Option<Arc<Vec<u8>>>,
pub title: Option<String>,
}Expand description
Audio track metadata extracted from Symphonia tags.
Intentionally without #[non_exhaustive] — this is a stable POD of
optional tag fields, constructed via direct struct literal in
downstream test/processor code; future additions go through
Default::default() spread.
Fields§
§album: Option<String>Album name.
artist: Option<String>Artist name.
artwork: Option<Arc<Vec<u8>>>Album artwork (JPEG/PNG bytes).
title: Option<String>Track title.
Trait Implementations§
Source§impl Clone for TrackMetadata
impl Clone for TrackMetadata
Source§fn clone(&self) -> TrackMetadata
fn clone(&self) -> TrackMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrackMetadata
impl Debug for TrackMetadata
Source§impl Default for TrackMetadata
impl Default for TrackMetadata
Source§fn default() -> TrackMetadata
fn default() -> TrackMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TrackMetadata
impl RefUnwindSafe for TrackMetadata
impl Send for TrackMetadata
impl Sync for TrackMetadata
impl Unpin for TrackMetadata
impl UnsafeUnpin for TrackMetadata
impl UnwindSafe for TrackMetadata
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