pub struct DateRangeMetadataGroupHandle { /* private fields */ }Expand description
Re-exports the AVPlayer framework surface for this item.
Owned AVDateRangeMetadataGroup wrapper.
Implementations§
Source§impl DateRangeMetadataGroupHandle
impl DateRangeMetadataGroupHandle
pub fn new( items: &[MetadataItem], start_date: &str, end_date: Option<&str>, ) -> Result<Self, AVPlayerError>
pub const fn as_metadata_group(&self) -> MetadataGroup<'_>
pub fn items(&self) -> Result<Vec<MetadataItem>, AVPlayerError>
pub fn classifying_label(&self) -> Result<Option<String>, AVPlayerError>
pub fn unique_id(&self) -> Result<Option<String>, AVPlayerError>
pub fn start_date(&self) -> Result<String, AVPlayerError>
pub fn end_date(&self) -> Result<Option<String>, AVPlayerError>
Trait Implementations§
Source§impl Debug for DateRangeMetadataGroupHandle
impl Debug for DateRangeMetadataGroupHandle
Source§impl Drop for DateRangeMetadataGroupHandle
impl Drop for DateRangeMetadataGroupHandle
impl Send for DateRangeMetadataGroupHandle
Auto Trait Implementations§
impl Freeze for DateRangeMetadataGroupHandle
impl RefUnwindSafe for DateRangeMetadataGroupHandle
impl !Sync for DateRangeMetadataGroupHandle
impl Unpin for DateRangeMetadataGroupHandle
impl UnsafeUnpin for DateRangeMetadataGroupHandle
impl UnwindSafe for DateRangeMetadataGroupHandle
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