Struct roctogen::endpoints::search::SearchLabelsParams [−][src]
pub struct SearchLabelsParams<'req> { /* fields omitted */ }
Expand description
Query parameters for the Search labels endpoint.
Implementations
impl<'req> SearchLabelsParams<'req>
[src]
impl<'req> SearchLabelsParams<'req>
[src]pub fn new() -> Self
[src]
pub fn repository_id(self, repository_id: i32) -> Self
[src]
pub fn repository_id(self, repository_id: i32) -> Self
[src]The id of the repository.
pub fn q(self, q: &'req str) -> Self
[src]
pub fn q(self, q: &'req str) -> Self
[src]The search keywords. This endpoint does not accept qualifiers in the query. To learn more about the format of the query, see Constructing a search query.
pub fn sort(self, sort: &'req str) -> Self
[src]
pub fn sort(self, sort: &'req str) -> Self
[src]Sorts the results of your query by when the label was created
or updated
. Default: best match
Trait Implementations
impl<'req> Default for SearchLabelsParams<'req>
[src]
impl<'req> Default for SearchLabelsParams<'req>
[src]fn default() -> SearchLabelsParams<'req>
[src]
fn default() -> SearchLabelsParams<'req>
[src]Returns the “default value” for a type. Read more
impl<'req> Serialize for SearchLabelsParams<'req>
[src]
impl<'req> Serialize for SearchLabelsParams<'req>
[src]