#[non_exhaustive]pub struct MpegCommonEncryption {
pub scheme: String,
/* private fields */
}
Expand description
Configuration for MPEG Common Encryption (MPEG-CENC).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.scheme: String
Required. Specify the encryption scheme.
Supported encryption schemes:
cenc
cbcs
Implementations§
Trait Implementations§
Source§impl Clone for MpegCommonEncryption
impl Clone for MpegCommonEncryption
Source§fn clone(&self) -> MpegCommonEncryption
fn clone(&self) -> MpegCommonEncryption
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 moreSource§impl Debug for MpegCommonEncryption
impl Debug for MpegCommonEncryption
Source§impl Default for MpegCommonEncryption
impl Default for MpegCommonEncryption
Source§fn default() -> MpegCommonEncryption
fn default() -> MpegCommonEncryption
Returns the “default value” for a type. Read more
Source§impl Message for MpegCommonEncryption
impl Message for MpegCommonEncryption
Source§impl PartialEq for MpegCommonEncryption
impl PartialEq for MpegCommonEncryption
impl StructuralPartialEq for MpegCommonEncryption
Auto Trait Implementations§
impl Freeze for MpegCommonEncryption
impl RefUnwindSafe for MpegCommonEncryption
impl Send for MpegCommonEncryption
impl Sync for MpegCommonEncryption
impl Unpin for MpegCommonEncryption
impl UnwindSafe for MpegCommonEncryption
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