pub struct QueryBuilder { /* private fields */ }Expand description
Query builder for constructing queries
Implementations§
Source§impl QueryBuilder
impl QueryBuilder
Sourcepub fn description(self, keyword: impl Into<String>) -> Self
pub fn description(self, keyword: impl Into<String>) -> Self
Match tools by description keyword
Sourcepub fn has_parameter(self, param_name: impl Into<String>) -> Self
pub fn has_parameter(self, param_name: impl Into<String>) -> Self
Match tools with specific parameter
Sourcepub fn min_parameters(self, min: usize) -> Self
pub fn min_parameters(self, min: usize) -> Self
Match tools with at least N parameters
Sourcepub fn max_parameters(self, max: usize) -> Self
pub fn max_parameters(self, max: usize) -> Self
Match tools with at most N parameters
Trait Implementations§
Source§impl Debug for QueryBuilder
impl Debug for QueryBuilder
Source§impl Default for QueryBuilder
impl Default for QueryBuilder
Source§fn default() -> QueryBuilder
fn default() -> QueryBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueryBuilder
impl RefUnwindSafe for QueryBuilder
impl Send for QueryBuilder
impl Sync for QueryBuilder
impl Unpin for QueryBuilder
impl UnsafeUnpin for QueryBuilder
impl UnwindSafe for QueryBuilder
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