#[non_exhaustive]pub struct ClipFragmentSelectorBuilder { /* private fields */ }
Expand description
A builder for ClipFragmentSelector
.
Implementations§
source§impl ClipFragmentSelectorBuilder
impl ClipFragmentSelectorBuilder
sourcepub fn fragment_selector_type(self, input: ClipFragmentSelectorType) -> Self
pub fn fragment_selector_type(self, input: ClipFragmentSelectorType) -> Self
The origin of the timestamps to use (Server or Producer).
This field is required.sourcepub fn set_fragment_selector_type(
self,
input: Option<ClipFragmentSelectorType>
) -> Self
pub fn set_fragment_selector_type( self, input: Option<ClipFragmentSelectorType> ) -> Self
The origin of the timestamps to use (Server or Producer).
sourcepub fn get_fragment_selector_type(&self) -> &Option<ClipFragmentSelectorType>
pub fn get_fragment_selector_type(&self) -> &Option<ClipFragmentSelectorType>
The origin of the timestamps to use (Server or Producer).
sourcepub fn timestamp_range(self, input: ClipTimestampRange) -> Self
pub fn timestamp_range(self, input: ClipTimestampRange) -> Self
The range of timestamps to return.
This field is required.sourcepub fn set_timestamp_range(self, input: Option<ClipTimestampRange>) -> Self
pub fn set_timestamp_range(self, input: Option<ClipTimestampRange>) -> Self
The range of timestamps to return.
sourcepub fn get_timestamp_range(&self) -> &Option<ClipTimestampRange>
pub fn get_timestamp_range(&self) -> &Option<ClipTimestampRange>
The range of timestamps to return.
sourcepub fn build(self) -> Result<ClipFragmentSelector, BuildError>
pub fn build(self) -> Result<ClipFragmentSelector, BuildError>
Consumes the builder and constructs a ClipFragmentSelector
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ClipFragmentSelectorBuilder
impl Clone for ClipFragmentSelectorBuilder
source§fn clone(&self) -> ClipFragmentSelectorBuilder
fn clone(&self) -> ClipFragmentSelectorBuilder
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 ClipFragmentSelectorBuilder
impl Debug for ClipFragmentSelectorBuilder
source§impl Default for ClipFragmentSelectorBuilder
impl Default for ClipFragmentSelectorBuilder
source§fn default() -> ClipFragmentSelectorBuilder
fn default() -> ClipFragmentSelectorBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ClipFragmentSelectorBuilder
impl PartialEq for ClipFragmentSelectorBuilder
source§fn eq(&self, other: &ClipFragmentSelectorBuilder) -> bool
fn eq(&self, other: &ClipFragmentSelectorBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClipFragmentSelectorBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ClipFragmentSelectorBuilder
impl Send for ClipFragmentSelectorBuilder
impl Sync for ClipFragmentSelectorBuilder
impl Unpin for ClipFragmentSelectorBuilder
impl UnwindSafe for ClipFragmentSelectorBuilder
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> 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>
Creates a shared type from an unshared type.