#[non_exhaustive]pub struct WatchIndexesOptions<'a> { /* private fields */ }Implementations§
Source§impl<'a> WatchIndexesOptions<'a>
impl<'a> WatchIndexesOptions<'a>
pub fn new() -> Self
pub fn bucket_name(self, bucket_name: &'a str) -> Self
pub fn scope_name(self, scope_name: impl Into<Option<&'a str>>) -> Self
pub fn collection_name( self, collection_name: impl Into<Option<&'a str>>, ) -> Self
pub fn indexes(self, indexes: &'a [&'a str]) -> Self
pub fn watch_primary(self, watch_primary: impl Into<Option<bool>>) -> Self
pub fn on_behalf_of( self, on_behalf_of: impl Into<Option<&'a OnBehalfOfInfo>>, ) -> Self
Trait Implementations§
Source§impl<'a> Clone for WatchIndexesOptions<'a>
impl<'a> Clone for WatchIndexesOptions<'a>
Source§fn clone(&self) -> WatchIndexesOptions<'a>
fn clone(&self) -> WatchIndexesOptions<'a>
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<'a> Debug for WatchIndexesOptions<'a>
impl<'a> Debug for WatchIndexesOptions<'a>
Source§impl<'a> Default for WatchIndexesOptions<'a>
impl<'a> Default for WatchIndexesOptions<'a>
Source§fn default() -> WatchIndexesOptions<'a>
fn default() -> WatchIndexesOptions<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> From<&WatchIndexesOptions<'a>> for WatchIndexesOptions<'a>
impl<'a> From<&WatchIndexesOptions<'a>> for WatchIndexesOptions<'a>
Source§fn from(opts: &WatchIndexesOptions<'a>) -> Self
fn from(opts: &WatchIndexesOptions<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for WatchIndexesOptions<'a>
impl<'a> RefUnwindSafe for WatchIndexesOptions<'a>
impl<'a> Send for WatchIndexesOptions<'a>
impl<'a> Sync for WatchIndexesOptions<'a>
impl<'a> Unpin for WatchIndexesOptions<'a>
impl<'a> UnsafeUnpin for WatchIndexesOptions<'a>
impl<'a> UnwindSafe for WatchIndexesOptions<'a>
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