#[non_exhaustive]pub struct ReshardingStatusBuilder { /* private fields */ }
Expand description
A builder for ReshardingStatus
.
Implementations§
source§impl ReshardingStatusBuilder
impl ReshardingStatusBuilder
sourcepub fn slot_migration(self, input: SlotMigration) -> Self
pub fn slot_migration(self, input: SlotMigration) -> Self
Represents the progress of an online resharding operation.
sourcepub fn set_slot_migration(self, input: Option<SlotMigration>) -> Self
pub fn set_slot_migration(self, input: Option<SlotMigration>) -> Self
Represents the progress of an online resharding operation.
sourcepub fn get_slot_migration(&self) -> &Option<SlotMigration>
pub fn get_slot_migration(&self) -> &Option<SlotMigration>
Represents the progress of an online resharding operation.
sourcepub fn build(self) -> ReshardingStatus
pub fn build(self) -> ReshardingStatus
Consumes the builder and constructs a ReshardingStatus
.
Trait Implementations§
source§impl Clone for ReshardingStatusBuilder
impl Clone for ReshardingStatusBuilder
source§fn clone(&self) -> ReshardingStatusBuilder
fn clone(&self) -> ReshardingStatusBuilder
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 ReshardingStatusBuilder
impl Debug for ReshardingStatusBuilder
source§impl Default for ReshardingStatusBuilder
impl Default for ReshardingStatusBuilder
source§fn default() -> ReshardingStatusBuilder
fn default() -> ReshardingStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReshardingStatusBuilder
impl PartialEq for ReshardingStatusBuilder
source§fn eq(&self, other: &ReshardingStatusBuilder) -> bool
fn eq(&self, other: &ReshardingStatusBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReshardingStatusBuilder
Auto Trait Implementations§
impl Freeze for ReshardingStatusBuilder
impl RefUnwindSafe for ReshardingStatusBuilder
impl Send for ReshardingStatusBuilder
impl Sync for ReshardingStatusBuilder
impl Unpin for ReshardingStatusBuilder
impl UnwindSafe for ReshardingStatusBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.