Struct vit_servicing_station_tests::common::clients::rest::search::SearchRequestBuilder
source · pub struct SearchRequestBuilder {
query: SearchQuery,
}
Fields§
§query: SearchQuery
Implementations§
source§impl SearchRequestBuilder
impl SearchRequestBuilder
pub fn on_challenges(self) -> Self
pub fn on_proposals(self) -> Self
pub fn on(self, table: Table) -> Self
pub fn by_funds_exact(self, funds: i64) -> Self
pub fn by_funds(self, lower: Option<i64>, upper: Option<i64>) -> Self
pub fn by_impact_score(self, impact_score: i64) -> Self
pub fn offset(self, offset: u64) -> Self
pub fn limit(self, limit: u64) -> Self
pub fn by_body(self, body: impl Into<String>) -> Self
pub fn by_title(self, title: impl Into<String>) -> Self
pub fn by_type(self, challenge_type: &ChallengeType) -> Self
pub fn by_text(self, phrase: impl Into<String>, column: Column) -> Self
pub fn by_range( self, lower: Option<i64>, upper: Option<i64>, column: Column ) -> Self
pub fn order_by_title(self) -> Self
pub fn order_by_asc(self, column: Column) -> Self
pub fn order_by_desc(self, column: Column) -> Self
pub fn order_by_random(self) -> Self
Trait Implementations§
source§impl Default for SearchRequestBuilder
impl Default for SearchRequestBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SearchRequestBuilder
impl Send for SearchRequestBuilder
impl Sync for SearchRequestBuilder
impl Unpin for SearchRequestBuilder
impl UnwindSafe for SearchRequestBuilder
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