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