[−][src]Struct octocrab::search::QueryHandler
A handler for handling search queries to GitHub.
Implementations
impl<'octo, 'query, T> QueryHandler<'octo, 'query, T>
[src]
pub fn sort<S: Into<String>>(self, sort: impl Into<Option<S>>) -> Self
[src]
Sets the sort
parameter for the query. The exact parameters for this
method will vary based on what is being searched.
pub fn order<S: Into<String>>(self, order: impl Into<Option<S>>) -> Self
[src]
Sets the order
parameter for the query. The exact parameters for this
method will vary based on what is being searched.
pub fn per_page(self, per_page: impl Into<u8>) -> Self
[src]
Results per page (max 100).
pub fn page(self, page: impl Into<u32>) -> Self
[src]
Page number of the results to fetch.
impl<'octo, 'query, T: DeserializeOwned> QueryHandler<'octo, 'query, T>
[src]
Trait Implementations
impl<'octo, 'query, T: Clone> Clone for QueryHandler<'octo, 'query, T>
[src]
fn clone(&self) -> QueryHandler<'octo, 'query, T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'octo, 'query, T: Debug> Debug for QueryHandler<'octo, 'query, T>
[src]
impl<'octo, 'query, T> Serialize for QueryHandler<'octo, 'query, T>
[src]
Auto Trait Implementations
impl<'octo, 'query, T> !RefUnwindSafe for QueryHandler<'octo, 'query, T>
impl<'octo, 'query, T> Send for QueryHandler<'octo, 'query, T> where
T: Send,
T: Send,
impl<'octo, 'query, T> Sync for QueryHandler<'octo, 'query, T> where
T: Sync,
T: Sync,
impl<'octo, 'query, T> Unpin for QueryHandler<'octo, 'query, T> where
T: Unpin,
T: Unpin,
impl<'octo, 'query, T> !UnwindSafe for QueryHandler<'octo, 'query, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,