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