pub struct SearchBuilder {
pub search: String,
// some fields omitted
}
Expand description
A builder for the assets/
search endpoint
pub fn new(search: &str) -> Self
Adds the $filter
query to the search
Adds the $orderby
query to the search
pub fn skip(self, skip: i64) -> Self
Adds the $skip
query to the search
pub fn top(self, top: i64) -> Self
Adds the $top
query to the search
Adds the $count
query to the search
Adds the $select
query to the search
Adds the $facet
query to the search
pub fn build(self) -> SearchQuery
Finalizes the SearchQuery
to use with assets/
search endpoint
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the current Span
, returning an
Instrumented
wrapper. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.