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