pub struct RecordDescriptor {Show 20 fields
pub version: u8,
pub checksum_protected: bool,
pub b_value_bits: u64,
pub record_profile: String,
pub stream_byte_length: usize,
pub payload_encoding: String,
pub title: Option<String>,
pub artist: Option<String>,
pub release_id: Option<[u8; 16]>,
pub catalog_number: Option<String>,
pub label: Option<String>,
pub artwork_credit: Option<String>,
pub canonical_url: Option<String>,
pub created_at: Option<u64>,
pub copyright_year: Option<u16>,
pub copyright_holder: Option<String>,
pub signed_release_reference: Option<SignedReleaseReference>,
pub bsc_pointer: Option<Vec<u8>>,
pub tone_spans: Vec<ToneSpanDescriptor>,
pub cache_encryption: Option<CacheEncryptionDescriptor>,
}Expand description
Decoded BRD1 carrier descriptor.
record_profile identifies the canonical Bitneedle carrier profile used to
decode the raster geometry. BRD1 does not use this field to assign logical
sample counts to BRS1 payload entries; programme timing belongs to BRS1 and
codec-specific validation.
Fields§
§version: u8§checksum_protected: bool§b_value_bits: u64§record_profile: String§stream_byte_length: usize§payload_encoding: String§title: Option<String>§artist: Option<String>§release_id: Option<[u8; 16]>§catalog_number: Option<String>§label: Option<String>§artwork_credit: Option<String>§canonical_url: Option<String>§created_at: Option<u64>§copyright_year: Option<u16>Phonographic (℗) copyright year — the P-line year shown in credits.
copyright_holder: Option<String>Phonographic (℗) copyright holder text (e.g. the artist, optionally with
a licensing clause). Distinct from label (the record label).
signed_release_reference: Option<SignedReleaseReference>§bsc_pointer: Option<Vec<u8>>§tone_spans: Vec<ToneSpanDescriptor>§cache_encryption: Option<CacheEncryptionDescriptor>Implementations§
Source§impl RecordDescriptor
impl RecordDescriptor
pub fn b_value(&self) -> f64
pub fn cache_encryption(&self) -> Option<&CacheEncryptionDescriptor>
pub fn validate_cache_encryption(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for RecordDescriptor
impl Clone for RecordDescriptor
Source§fn clone(&self) -> RecordDescriptor
fn clone(&self) -> RecordDescriptor
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 RecordDescriptor
impl Debug for RecordDescriptor
Source§impl<'de> Deserialize<'de> for RecordDescriptor
impl<'de> Deserialize<'de> for RecordDescriptor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RecordDescriptor
Source§impl PartialEq for RecordDescriptor
impl PartialEq for RecordDescriptor
Source§fn eq(&self, other: &RecordDescriptor) -> bool
fn eq(&self, other: &RecordDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RecordDescriptor
impl Serialize for RecordDescriptor
impl StructuralPartialEq for RecordDescriptor
Auto Trait Implementations§
impl Freeze for RecordDescriptor
impl RefUnwindSafe for RecordDescriptor
impl Send for RecordDescriptor
impl Sync for RecordDescriptor
impl Unpin for RecordDescriptor
impl UnsafeUnpin for RecordDescriptor
impl UnwindSafe for RecordDescriptor
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