#[non_exhaustive]pub struct GetAllIndexesOptions<'a> {
pub bucket_name: &'a str,
pub scope_name: Option<&'a str>,
pub collection_name: Option<&'a str>,
pub on_behalf_of: Option<&'a OnBehalfOfInfo>,
pub endpoint: Option<String>,
pub retry_strategy: Arc<dyn RetryStrategy>,
}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.bucket_name: &'a str§scope_name: Option<&'a str>§collection_name: Option<&'a str>§on_behalf_of: Option<&'a OnBehalfOfInfo>§endpoint: Option<String>§retry_strategy: Arc<dyn RetryStrategy>Implementations§
Source§impl<'a> GetAllIndexesOptions<'a>
impl<'a> GetAllIndexesOptions<'a>
pub fn new(bucket_name: &'a str) -> Self
pub fn scope_name(self, scope_name: &'a str) -> Self
pub fn collection_name(self, collection_name: &'a str) -> Self
pub fn on_behalf_of(self, on_behalf_of: &'a OnBehalfOfInfo) -> Self
pub fn endpoint(self, endpoint: String) -> Self
pub fn retry_strategy(self, retry_strategy: Arc<dyn RetryStrategy>) -> Self
Trait Implementations§
Source§impl<'a> Clone for GetAllIndexesOptions<'a>
impl<'a> Clone for GetAllIndexesOptions<'a>
Source§fn clone(&self) -> GetAllIndexesOptions<'a>
fn clone(&self) -> GetAllIndexesOptions<'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 GetAllIndexesOptions<'a>
impl<'a> Debug for GetAllIndexesOptions<'a>
Source§impl<'a> From<&GetAllIndexesOptions<'a>> for GetAllIndexesOptions<'a>
impl<'a> From<&GetAllIndexesOptions<'a>> for GetAllIndexesOptions<'a>
Source§fn from(opts: &GetAllIndexesOptions<'a>) -> Self
fn from(opts: &GetAllIndexesOptions<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for GetAllIndexesOptions<'a>
impl<'a> !RefUnwindSafe for GetAllIndexesOptions<'a>
impl<'a> Send for GetAllIndexesOptions<'a>
impl<'a> Sync for GetAllIndexesOptions<'a>
impl<'a> Unpin for GetAllIndexesOptions<'a>
impl<'a> UnsafeUnpin for GetAllIndexesOptions<'a>
impl<'a> !UnwindSafe for GetAllIndexesOptions<'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