pub struct CensusRequestBuilder { /* private fields */ }Implementations§
Source§impl CensusRequestBuilder
impl CensusRequestBuilder
pub fn new(client: Client, collection: String, url: String) -> Self
pub fn show(self, field: impl Into<String>) -> Self
pub fn hide(self, field: impl Into<String>) -> Self
pub fn sort(self, field: impl Into<String>, direction: SortDirection) -> Self
pub fn has(self, field: impl Into<String>) -> Self
pub fn resolve(self, field: impl Into<String>) -> Self
pub fn case(self, should_case: bool) -> Self
pub fn limit(self, limit: u32) -> Self
pub fn limit_per_db(self, limit_per_db: u32) -> Self
pub fn start(self, start: u32) -> Self
pub fn include_null(self, include_null: bool) -> Self
pub fn lang(self, lang: impl Into<String>) -> Self
pub fn join(self, join: Join) -> Self
pub fn tree(self, tree: Tree) -> Self
pub fn timing(self, value: bool) -> Self
pub fn exact_match_first(self, value: bool) -> Self
pub fn distinct(self, field: impl Into<String>) -> Self
pub fn retry(self, value: bool) -> Self
pub fn filter( self, field: impl Into<String>, filter: FilterType, value: impl Into<String>, ) -> Self
pub fn build(self) -> CensusRequest
Auto Trait Implementations§
impl Freeze for CensusRequestBuilder
impl !RefUnwindSafe for CensusRequestBuilder
impl Send for CensusRequestBuilder
impl Sync for CensusRequestBuilder
impl Unpin for CensusRequestBuilder
impl UnsafeUnpin for CensusRequestBuilder
impl !UnwindSafe for CensusRequestBuilder
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