#[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 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>
Creates a shared type from an unshared type.