pub struct OutputProfileList {
pub id: ImfUuid,
pub annotation: Option<String>,
pub issue_date: String,
pub issuer: Option<String>,
pub creator: Option<String>,
pub composition_playlist_id: ImfUuid,
pub macros: Vec<OplMacro>,
}Expand description
OPL XML — Output Profile List (SMPTE ST 2067-100).
Defines output processing instructions for a composition: image scaling, cropping, pixel encoding, and audio routing/mixing macros.
macros carries every <Macro xsi:type="..."> entry from the
<MacroList>. The list is structurally extracted via a small
quick_xml walker rather than serde because the XSD uses
xsi:type polymorphism with vendor-specific extension namespaces
(opl:PresetMacroType, arm:AudioRoutingMixingMacroType, etc.).
Type-specific payload fields land in OplMacro::extra_fields
as (local_name, text) pairs so the parser doesn’t have to know
every macro subtype to round-trip the list.
Fields§
§id: ImfUuid§annotation: Option<String>§issue_date: StringISO 8601 issue date.
issuer: Option<String>§creator: Option<String>§composition_playlist_id: ImfUuidThe CPL that this OPL targets.
macros: Vec<OplMacro>Each <Macro xsi:type="..."> entry from the <MacroList>.
Empty when the OPL has no macros (or has <MacroList/>).
Trait Implementations§
Source§impl Debug for OutputProfileList
impl Debug for OutputProfileList
Source§impl<'de> Deserialize<'de> for OutputProfileList
impl<'de> Deserialize<'de> for OutputProfileList
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>,
Source§impl PartialEq for OutputProfileList
impl PartialEq for OutputProfileList
Source§fn eq(&self, other: &OutputProfileList) -> bool
fn eq(&self, other: &OutputProfileList) -> bool
self and other values to be equal, and is used by ==.