#[non_exhaustive]pub struct InputParallelismBuilder { /* private fields */ }
Expand description
A builder for InputParallelism
.
Implementations§
source§impl InputParallelismBuilder
impl InputParallelismBuilder
sourcepub fn set_count(self, input: Option<i32>) -> Self
pub fn set_count(self, input: Option<i32>) -> Self
The number of in-application streams to create.
sourcepub fn build(self) -> InputParallelism
pub fn build(self) -> InputParallelism
Consumes the builder and constructs a InputParallelism
.
Trait Implementations§
source§impl Clone for InputParallelismBuilder
impl Clone for InputParallelismBuilder
source§fn clone(&self) -> InputParallelismBuilder
fn clone(&self) -> InputParallelismBuilder
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 InputParallelismBuilder
impl Debug for InputParallelismBuilder
source§impl Default for InputParallelismBuilder
impl Default for InputParallelismBuilder
source§fn default() -> InputParallelismBuilder
fn default() -> InputParallelismBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InputParallelismBuilder
impl PartialEq for InputParallelismBuilder
source§fn eq(&self, other: &InputParallelismBuilder) -> bool
fn eq(&self, other: &InputParallelismBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InputParallelismBuilder
Auto Trait Implementations§
impl Freeze for InputParallelismBuilder
impl RefUnwindSafe for InputParallelismBuilder
impl Send for InputParallelismBuilder
impl Sync for InputParallelismBuilder
impl Unpin for InputParallelismBuilder
impl UnwindSafe for InputParallelismBuilder
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.