Struct windows::Media::Protection::PlayReady::PlayReadyLicense
pub struct PlayReadyLicense(/* private fields */);
Implementations§
§impl PlayReadyLicense
impl PlayReadyLicense
pub fn FullyEvaluated(&self) -> Result<bool>
pub fn UsableForPlay(&self) -> Result<bool>
pub fn ExpirationDate(&self) -> Result<IReference<DateTime>>
pub fn ExpireAfterFirstPlay(&self) -> Result<u32>
pub fn DomainAccountID(&self) -> Result<GUID>
pub fn ChainDepth(&self) -> Result<u32>
pub fn GetKIDAtChainDepth(&self, chaindepth: u32) -> Result<GUID>
pub fn SecureStopId(&self) -> Result<GUID>
pub fn SecurityLevel(&self) -> Result<u32>
pub fn InMemoryOnly(&self) -> Result<bool>
pub fn ExpiresInRealTime(&self) -> Result<bool>
Trait Implementations§
§impl Clone for PlayReadyLicense
impl Clone for PlayReadyLicense
§fn clone(&self) -> PlayReadyLicense
fn clone(&self) -> PlayReadyLicense
Returns a copy 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 more§impl Debug for PlayReadyLicense
impl Debug for PlayReadyLicense
§impl From<&PlayReadyLicense> for &IInspectable
impl From<&PlayReadyLicense> for &IInspectable
§fn from(value: &PlayReadyLicense) -> Self
fn from(value: &PlayReadyLicense) -> Self
Converts to this type from the input type.
§impl From<&PlayReadyLicense> for &IUnknown
impl From<&PlayReadyLicense> for &IUnknown
§fn from(value: &PlayReadyLicense) -> Self
fn from(value: &PlayReadyLicense) -> Self
Converts to this type from the input type.
§impl From<PlayReadyLicense> for IInspectable
impl From<PlayReadyLicense> for IInspectable
§fn from(value: PlayReadyLicense) -> Self
fn from(value: PlayReadyLicense) -> Self
Converts to this type from the input type.
§impl From<PlayReadyLicense> for IUnknown
impl From<PlayReadyLicense> for IUnknown
§fn from(value: PlayReadyLicense) -> Self
fn from(value: PlayReadyLicense) -> Self
Converts to this type from the input type.
§impl Interface for PlayReadyLicense
impl Interface for PlayReadyLicense
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for PlayReadyLicense
impl PartialEq for PlayReadyLicense
§fn eq(&self, other: &PlayReadyLicense) -> bool
fn eq(&self, other: &PlayReadyLicense) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PlayReadyLicense
impl StructuralPartialEq for PlayReadyLicense
Auto Trait Implementations§
impl RefUnwindSafe for PlayReadyLicense
impl !Send for PlayReadyLicense
impl !Sync for PlayReadyLicense
impl Unpin for PlayReadyLicense
impl UnwindSafe for PlayReadyLicense
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