#[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 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<BackendApiConflictResolutionBuilder> for BackendApiConflictResolutionBuilder
impl PartialEq<BackendApiConflictResolutionBuilder> 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 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