#[non_exhaustive]pub struct StreamingExperienceSettingsBuilder { /* private fields */ }
Expand description
A builder for StreamingExperienceSettings
.
Implementations§
source§impl StreamingExperienceSettingsBuilder
impl StreamingExperienceSettingsBuilder
sourcepub fn preferred_protocol(self, input: PreferredProtocol) -> Self
pub fn preferred_protocol(self, input: PreferredProtocol) -> Self
The preferred protocol that you want to use while streaming your application.
sourcepub fn set_preferred_protocol(self, input: Option<PreferredProtocol>) -> Self
pub fn set_preferred_protocol(self, input: Option<PreferredProtocol>) -> Self
The preferred protocol that you want to use while streaming your application.
sourcepub fn get_preferred_protocol(&self) -> &Option<PreferredProtocol>
pub fn get_preferred_protocol(&self) -> &Option<PreferredProtocol>
The preferred protocol that you want to use while streaming your application.
sourcepub fn build(self) -> StreamingExperienceSettings
pub fn build(self) -> StreamingExperienceSettings
Consumes the builder and constructs a StreamingExperienceSettings
.
Trait Implementations§
source§impl Clone for StreamingExperienceSettingsBuilder
impl Clone for StreamingExperienceSettingsBuilder
source§fn clone(&self) -> StreamingExperienceSettingsBuilder
fn clone(&self) -> StreamingExperienceSettingsBuilder
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 Default for StreamingExperienceSettingsBuilder
impl Default for StreamingExperienceSettingsBuilder
source§fn default() -> StreamingExperienceSettingsBuilder
fn default() -> StreamingExperienceSettingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StreamingExperienceSettingsBuilder
impl PartialEq for StreamingExperienceSettingsBuilder
source§fn eq(&self, other: &StreamingExperienceSettingsBuilder) -> bool
fn eq(&self, other: &StreamingExperienceSettingsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StreamingExperienceSettingsBuilder
Auto Trait Implementations§
impl Freeze for StreamingExperienceSettingsBuilder
impl RefUnwindSafe for StreamingExperienceSettingsBuilder
impl Send for StreamingExperienceSettingsBuilder
impl Sync for StreamingExperienceSettingsBuilder
impl Unpin for StreamingExperienceSettingsBuilder
impl UnwindSafe for StreamingExperienceSettingsBuilder
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>
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 moreCreates a shared type from an unshared type.