pub struct PsshBox {
pub version: u8,
pub flags: u32,
pub system_id: DRMSystemId,
pub key_ids: Vec<DRMKeyId>,
pub pssh_data: PsshData,
}
Expand description
A PSSH box, also called a ProtectionSystemSpecificHeaderBox in ISO 23001-7:2012.
Fields§
§version: u8
§flags: u32
§system_id: DRMSystemId
§key_ids: Vec<DRMKeyId>
§pssh_data: PsshData
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for PsshBox
impl<'de> Deserialize<'de> for PsshBox
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
source§impl Display for PsshBox
impl Display for PsshBox
This to_string() method provides the most compact representation possible on a single line; see the pprint() function for a more verbose layout.
impl StructuralPartialEq for PsshBox
Auto Trait Implementations§
impl Freeze for PsshBox
impl RefUnwindSafe for PsshBox
impl Send for PsshBox
impl Sync for PsshBox
impl Unpin for PsshBox
impl UnwindSafe for PsshBox
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)