#[non_exhaustive]pub struct EnsureIndexOptions<'a> {
pub index_name: &'a str,
pub bucket_name: &'a str,
pub scope_name: Option<&'a str>,
pub collection_name: Option<&'a str>,
pub on_behalf_of_info: Option<&'a OnBehalfOfInfo>,
pub desired_state: DesiredState,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.index_name: &'a str§bucket_name: &'a str§scope_name: Option<&'a str>§collection_name: Option<&'a str>§on_behalf_of_info: Option<&'a OnBehalfOfInfo>§desired_state: DesiredStateImplementations§
Trait Implementations§
Source§impl<'a> Clone for EnsureIndexOptions<'a>
impl<'a> Clone for EnsureIndexOptions<'a>
Source§fn clone(&self) -> EnsureIndexOptions<'a>
fn clone(&self) -> EnsureIndexOptions<'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 moreAuto Trait Implementations§
impl<'a> Freeze for EnsureIndexOptions<'a>
impl<'a> RefUnwindSafe for EnsureIndexOptions<'a>
impl<'a> Send for EnsureIndexOptions<'a>
impl<'a> Sync for EnsureIndexOptions<'a>
impl<'a> Unpin for EnsureIndexOptions<'a>
impl<'a> UnsafeUnpin for EnsureIndexOptions<'a>
impl<'a> UnwindSafe for EnsureIndexOptions<'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