#[non_exhaustive]pub struct GetIndexedDocumentsCountOptions<'a> {
pub bucket_name: Option<&'a str>,
pub scope_name: Option<&'a str>,
pub index_name: &'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.bucket_name: Option<&'a str>§scope_name: Option<&'a str>§index_name: &'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: impl Into<Option<&'a str>>) -> Self
pub fn scope_name(self, scope_name: impl Into<Option<&'a str>>) -> Self
pub fn on_behalf_of( self, on_behalf_of: impl Into<Option<&'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