pub struct ReleaseReference {
pub reference_id: String,
pub release_id: String,
pub title: String,
pub artist: String,
pub resource_references: Vec<String>,
pub sequence_number: usize,
}Expand description
Reference information for a release
Stores metadata about a release reference generated during streaming, including identifiers, content information, resource links, and sequence tracking.
§Example
use ddex_builder::streaming::reference_manager::ReleaseReference;
let release_ref = ReleaseReference {
reference_id: "REL87654321".to_string(),
release_id: "GRid:A1-12345678901234567890123456789012".to_string(),
title: "Greatest Hits".to_string(),
artist: "The Beatles".to_string(),
resource_references: vec!["R12345678".to_string(), "R87654321".to_string()],
sequence_number: 1,
};Fields§
§reference_id: StringUnique reference ID for this release within the DDEX message
release_id: StringRelease identifier (e.g., GRid, UPC, proprietary ID)
title: StringTitle of the release
artist: StringMain artist name for this release
resource_references: Vec<String>References to resources (tracks) contained in this release
sequence_number: usizeSequence number indicating order in the message
Trait Implementations§
Source§impl Clone for ReleaseReference
impl Clone for ReleaseReference
Source§fn clone(&self) -> ReleaseReference
fn clone(&self) -> ReleaseReference
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 ReleaseReference
impl RefUnwindSafe for ReleaseReference
impl Send for ReleaseReference
impl Sync for ReleaseReference
impl Unpin for ReleaseReference
impl UnwindSafe for ReleaseReference
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more