#[non_exhaustive]pub struct TeletextDestinationSettingsBuilder { /* private fields */ }
Expand description
A builder for TeletextDestinationSettings
.
Implementations§
source§impl TeletextDestinationSettingsBuilder
impl TeletextDestinationSettingsBuilder
sourcepub fn page_number(self, input: impl Into<String>) -> Self
pub fn page_number(self, input: impl Into<String>) -> Self
Set pageNumber to the Teletext page number for the destination captions for this output. This value must be a three-digit hexadecimal string; strings ending in -FF are invalid. If you are passing through the entire set of Teletext data, do not use this field.
sourcepub fn set_page_number(self, input: Option<String>) -> Self
pub fn set_page_number(self, input: Option<String>) -> Self
Set pageNumber to the Teletext page number for the destination captions for this output. This value must be a three-digit hexadecimal string; strings ending in -FF are invalid. If you are passing through the entire set of Teletext data, do not use this field.
sourcepub fn get_page_number(&self) -> &Option<String>
pub fn get_page_number(&self) -> &Option<String>
Set pageNumber to the Teletext page number for the destination captions for this output. This value must be a three-digit hexadecimal string; strings ending in -FF are invalid. If you are passing through the entire set of Teletext data, do not use this field.
sourcepub fn page_types(self, input: TeletextPageType) -> Self
pub fn page_types(self, input: TeletextPageType) -> Self
Appends an item to page_types
.
To override the contents of this collection use set_page_types
.
Specify the page types for this Teletext page. If you don’t specify a value here, the service sets the page type to the default value Subtitle. If you pass through the entire set of Teletext data, don’t use this field. When you pass through a set of Teletext pages, your output has the same page types as your input.
sourcepub fn set_page_types(self, input: Option<Vec<TeletextPageType>>) -> Self
pub fn set_page_types(self, input: Option<Vec<TeletextPageType>>) -> Self
Specify the page types for this Teletext page. If you don’t specify a value here, the service sets the page type to the default value Subtitle. If you pass through the entire set of Teletext data, don’t use this field. When you pass through a set of Teletext pages, your output has the same page types as your input.
sourcepub fn get_page_types(&self) -> &Option<Vec<TeletextPageType>>
pub fn get_page_types(&self) -> &Option<Vec<TeletextPageType>>
Specify the page types for this Teletext page. If you don’t specify a value here, the service sets the page type to the default value Subtitle. If you pass through the entire set of Teletext data, don’t use this field. When you pass through a set of Teletext pages, your output has the same page types as your input.
sourcepub fn build(self) -> TeletextDestinationSettings
pub fn build(self) -> TeletextDestinationSettings
Consumes the builder and constructs a TeletextDestinationSettings
.
Trait Implementations§
source§impl Clone for TeletextDestinationSettingsBuilder
impl Clone for TeletextDestinationSettingsBuilder
source§fn clone(&self) -> TeletextDestinationSettingsBuilder
fn clone(&self) -> TeletextDestinationSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TeletextDestinationSettingsBuilder
impl Default for TeletextDestinationSettingsBuilder
source§fn default() -> TeletextDestinationSettingsBuilder
fn default() -> TeletextDestinationSettingsBuilder
source§impl PartialEq for TeletextDestinationSettingsBuilder
impl PartialEq for TeletextDestinationSettingsBuilder
source§fn eq(&self, other: &TeletextDestinationSettingsBuilder) -> bool
fn eq(&self, other: &TeletextDestinationSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TeletextDestinationSettingsBuilder
Auto Trait Implementations§
impl Freeze for TeletextDestinationSettingsBuilder
impl RefUnwindSafe for TeletextDestinationSettingsBuilder
impl Send for TeletextDestinationSettingsBuilder
impl Sync for TeletextDestinationSettingsBuilder
impl Unpin for TeletextDestinationSettingsBuilder
impl UnwindSafe for TeletextDestinationSettingsBuilder
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
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>
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>
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