[][src]Struct octocrab::orgs::ListReposBuilder

pub struct ListReposBuilder<'octo, 'b> { /* fields omitted */ }

Implementations

impl<'octo, 'b> ListReposBuilder<'octo, 'b>[src]

pub fn repo_type(self, type: impl Into<Option<Type>>) -> Self[src]

Filter repostories by their type

pub fn sort(self, sort: impl Into<Sort>) -> Self[src]

What to sort results by. Can be either created, updated, pushed, or full_name.

pub fn direction(self, direction: impl Into<Direction>) -> Self[src]

The direction of the sort. Can be either Ascending or Descending. Default: ascending when sort is full_name, otherwise descending.

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.

pub async fn send(self) -> Result<Page<Repository>>[src]

Sends the actual request.

Trait Implementations

impl<'octo, 'b> Serialize for ListReposBuilder<'octo, 'b>[src]

Auto Trait Implementations

impl<'octo, 'b> !RefUnwindSafe for ListReposBuilder<'octo, 'b>[src]

impl<'octo, 'b> Send for ListReposBuilder<'octo, 'b>[src]

impl<'octo, 'b> Sync for ListReposBuilder<'octo, 'b>[src]

impl<'octo, 'b> Unpin for ListReposBuilder<'octo, 'b> where
    'octo: 'b, 
[src]

impl<'octo, 'b> !UnwindSafe for ListReposBuilder<'octo, 'b>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.