pub struct MetadataItem {
pub identifier: Option<String>,
pub key_space: Option<String>,
pub common_key: Option<String>,
pub string_value: Option<String>,
pub number_value: Option<f64>,
pub data_type: Option<String>,
pub value_description: Option<String>,
}Expand description
Re-exports the AVPlayer framework surface for this item.
Simplified AVMetadataItem view suitable for asset/player inspection.
Fields§
§identifier: Option<String>Fully-qualified metadata identifier when available.
key_space: Option<String>Metadata key-space raw value.
common_key: Option<String>Common-key raw value.
string_value: Option<String>String value when the metadata item is textual.
number_value: Option<f64>Numeric value when the metadata item is numeric.
data_type: Option<String>Underlying data type UTI.
value_description: Option<String>Best-effort human-readable description of the value.
Trait Implementations§
Source§impl Clone for MetadataItem
impl Clone for MetadataItem
Source§fn clone(&self) -> MetadataItem
fn clone(&self) -> MetadataItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MetadataItem
impl Debug for MetadataItem
Source§impl<'de> Deserialize<'de> for MetadataItem
impl<'de> Deserialize<'de> for MetadataItem
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 PartialEq for MetadataItem
impl PartialEq for MetadataItem
Source§fn eq(&self, other: &MetadataItem) -> bool
fn eq(&self, other: &MetadataItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MetadataItem
impl Serialize for MetadataItem
impl StructuralPartialEq for MetadataItem
Auto Trait Implementations§
impl Freeze for MetadataItem
impl RefUnwindSafe for MetadataItem
impl Send for MetadataItem
impl Sync for MetadataItem
impl Unpin for MetadataItem
impl UnsafeUnpin for MetadataItem
impl UnwindSafe for MetadataItem
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