Struct hubcaps::search::SearchRepos
source · Expand description
Provides access to search operations for repositories
Implementations
sourceimpl<C: Clone + Connect + 'static> SearchRepos<C>
impl<C: Clone + Connect + 'static> SearchRepos<C>
sourcepub fn iter<Q>(&self, q: Q, options: &SearchReposOptions) -> Stream<ReposItem>where
Q: Into<String>,
pub fn iter<Q>(&self, q: Q, options: &SearchReposOptions) -> Stream<ReposItem>where
Q: Into<String>,
Return a stream of search results repository query See github docs for query format options
sourcepub fn list<Q>(
&self,
q: Q,
options: &SearchReposOptions
) -> Future<SearchResult<ReposItem>>where
Q: Into<String>,
pub fn list<Q>(
&self,
q: Q,
options: &SearchReposOptions
) -> Future<SearchResult<ReposItem>>where
Q: Into<String>,
Return the first page of search result repository query See github docs for query format options
Auto Trait Implementations
impl<C> !RefUnwindSafe for SearchRepos<C>
impl<C> Send for SearchRepos<C>
impl<C> Sync for SearchRepos<C>
impl<C> Unpin for SearchRepos<C>
impl<C> !UnwindSafe for SearchRepos<C>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more