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