pub struct CollectionParamsDiffBuilder { /* private fields */ }
Expand description
Builder for CollectionParamsDiff
.
Implementations§
source§impl CollectionParamsDiffBuilder
impl CollectionParamsDiffBuilder
sourcepub fn replication_factor(self, value: u32) -> Self
pub fn replication_factor(self, value: u32) -> Self
Number of replicas of each shard that network tries to maintain
sourcepub fn write_consistency_factor(self, value: u32) -> Self
pub fn write_consistency_factor(self, value: u32) -> Self
How many replicas should apply the operation for us to consider it successful
sourcepub fn on_disk_payload(self, value: bool) -> Self
pub fn on_disk_payload(self, value: bool) -> Self
If true - point’s payload will not be stored in memory
sourcepub fn read_fan_out_factor(self, value: u32) -> Self
pub fn read_fan_out_factor(self, value: u32) -> Self
Fan-out every read request to these many additional remote nodes (and return first available response)
source§impl CollectionParamsDiffBuilder
impl CollectionParamsDiffBuilder
sourcepub fn build(self) -> CollectionParamsDiff
pub fn build(self) -> CollectionParamsDiff
Builds the desired type. Can often be omitted.
Trait Implementations§
source§impl From<CollectionParamsDiffBuilder> for CollectionParamsDiff
impl From<CollectionParamsDiffBuilder> for CollectionParamsDiff
source§fn from(value: CollectionParamsDiffBuilder) -> Self
fn from(value: CollectionParamsDiffBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CollectionParamsDiffBuilder
impl RefUnwindSafe for CollectionParamsDiffBuilder
impl Send for CollectionParamsDiffBuilder
impl Sync for CollectionParamsDiffBuilder
impl Unpin for CollectionParamsDiffBuilder
impl UnwindSafe for CollectionParamsDiffBuilder
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request