pub struct DrmMetadataRecord<'a> {
pub drm_metadata_source: u8,
pub drm_system_id: u16,
pub drm_uuid: [u8; 16],
pub drm_metadata: &'a [u8],
}Expand description
One drm_metadata record (Tables 33/38): the drm_metadata_source,
drm_system_id, drm_uuid, and the opaque drm_metadata_byte body.
Fields§
§drm_metadata_source: u8drm_metadata_source (8) — source of the metadata, per Table 34.
drm_system_id: u16drm_system_id (16) — DRM system the metadata relates to; 0xFFFF if not
used. Same values as ca_system_id [11].
drm_uuid: [u8; 16]drm_uuid (128) — UUID of the DRM; all 0xFF if not used.
drm_metadata: &'a [u8]drm_metadata_byte body (drm_metadata_length bytes) — opaque blob.
Trait Implementations§
Source§impl<'a> Clone for DrmMetadataRecord<'a>
impl<'a> Clone for DrmMetadataRecord<'a>
Source§fn clone(&self) -> DrmMetadataRecord<'a>
fn clone(&self) -> DrmMetadataRecord<'a>
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<'a> Debug for DrmMetadataRecord<'a>
impl<'a> Debug for DrmMetadataRecord<'a>
impl<'a> Eq for DrmMetadataRecord<'a>
Source§impl<'a> PartialEq for DrmMetadataRecord<'a>
impl<'a> PartialEq for DrmMetadataRecord<'a>
Source§fn eq(&self, other: &DrmMetadataRecord<'a>) -> bool
fn eq(&self, other: &DrmMetadataRecord<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for DrmMetadataRecord<'a>
impl<'a> Serialize for DrmMetadataRecord<'a>
impl<'a> StructuralPartialEq for DrmMetadataRecord<'a>
Auto Trait Implementations§
impl<'a> Freeze for DrmMetadataRecord<'a>
impl<'a> RefUnwindSafe for DrmMetadataRecord<'a>
impl<'a> Send for DrmMetadataRecord<'a>
impl<'a> Sync for DrmMetadataRecord<'a>
impl<'a> Unpin for DrmMetadataRecord<'a>
impl<'a> UnsafeUnpin for DrmMetadataRecord<'a>
impl<'a> UnwindSafe for DrmMetadataRecord<'a>
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