pub struct ReplaceOptions { /* private fields */ }Expand description
Options for document replace,
Implementations§
Source§impl ReplaceOptions
impl ReplaceOptions
Sourcepub fn builder() -> ReplaceOptionsBuilder<((), (), (), (), ())>
pub fn builder() -> ReplaceOptionsBuilder<((), (), (), (), ())>
Create a builder for building ReplaceOptions.
On the builder, call .wait_for_sync(...)(optional), .ignore_revs(...)(optional), .return_new(...)(optional), .return_old(...)(optional), .silent(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of ReplaceOptions.
Trait Implementations§
Source§impl Clone for ReplaceOptions
impl Clone for ReplaceOptions
Source§fn clone(&self) -> ReplaceOptions
fn clone(&self) -> ReplaceOptions
Returns a duplicate 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 ReplaceOptions
impl Debug for ReplaceOptions
Source§impl Default for ReplaceOptions
impl Default for ReplaceOptions
Source§impl<'de> Deserialize<'de> for ReplaceOptions
impl<'de> Deserialize<'de> for ReplaceOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReplaceOptions
impl RefUnwindSafe for ReplaceOptions
impl Send for ReplaceOptions
impl Sync for ReplaceOptions
impl Unpin for ReplaceOptions
impl UnwindSafe for ReplaceOptions
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