Struct dash_mpd::ContentProtection [−][src]
pub struct ContentProtection {
pub robustness: Option<String>,
pub refId: Option<String>,
pub cpref: Option<String>,
}
Expand description
Contains information on DRM (rights management / encryption) mechanisms used in the stream, such as Widevine and Playready. Note that this library is not able to download content with DRM. If this node is not present, no content protection is applied.
Fields
robustness: Option<String>
refId: Option<String>
cpref: Option<String>
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for ContentProtection
impl Send for ContentProtection
impl Sync for ContentProtection
impl Unpin for ContentProtection
impl UnwindSafe for ContentProtection
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more