pub struct Preselection {Show 15 fields
pub id: Option<String>,
pub audioSamplingRate: Option<String>,
pub codecs: String,
pub selectionPriority: Option<u64>,
pub preselectionComponents: String,
pub tag: String,
pub languages: Vec<Language>,
pub roles: Vec<Role>,
pub accessibilities: Vec<Accessibility>,
pub viewpoints: Vec<Viewpoint>,
pub ratings: Vec<Rating>,
pub labels: Vec<Label>,
pub audio_channel_configurations: Vec<AudioChannelConfiguration>,
pub essential_properties: Vec<EssentialProperty>,
pub supplemental_properties: Vec<SupplementalProperty>,
}
Expand description
A Preselection is a personalization option to produce a “complete audio experience”.
Used for audio signaling in the context of the ATSC 3.0 standard for advanced IP-based television broadcasting. Details are specified by the “DASH-IF Interoperability Point for ATSC 3.0” document.
Fields§
§id: Option<String>
§audioSamplingRate: Option<String>
§codecs: String
An RFC6381 string, https://tools.ietf.org/html/rfc6381
selectionPriority: Option<u64>
§preselectionComponents: String
Specifies the ids of the contained elements/content components of this Preselection list as white space separated list in processing order. The first id defines the main element.
tag: String
§languages: Vec<Language>
§roles: Vec<Role>
§accessibilities: Vec<Accessibility>
§viewpoints: Vec<Viewpoint>
§ratings: Vec<Rating>
§labels: Vec<Label>
§audio_channel_configurations: Vec<AudioChannelConfiguration>
§essential_properties: Vec<EssentialProperty>
§supplemental_properties: Vec<SupplementalProperty>
Trait Implementations§
Source§impl Clone for Preselection
impl Clone for Preselection
Source§fn clone(&self) -> Preselection
fn clone(&self) -> Preselection
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 moreSource§impl Debug for Preselection
impl Debug for Preselection
Source§impl Default for Preselection
impl Default for Preselection
Source§fn default() -> Preselection
fn default() -> Preselection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Preselectionwhere
Preselection: Default,
impl<'de> Deserialize<'de> for Preselectionwhere
Preselection: Default,
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 Hash for Preselection
impl Hash for Preselection
Source§impl PartialEq for Preselection
impl PartialEq for Preselection
Source§impl Serialize for Preselection
impl Serialize for Preselection
impl StructuralPartialEq for Preselection
Auto Trait Implementations§
impl Freeze for Preselection
impl RefUnwindSafe for Preselection
impl Send for Preselection
impl Sync for Preselection
impl Unpin for Preselection
impl UnwindSafe for Preselection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more