[−][src]Struct octocrab::orgs::ListReposBuilder
Implementations
impl<'octo, 'b> ListReposBuilder<'octo, 'b>
[src]
pub fn repo_type(self, r#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>
impl<'octo, 'b> Send for ListReposBuilder<'octo, 'b>
impl<'octo, 'b> Sync for ListReposBuilder<'octo, 'b>
impl<'octo, 'b> Unpin for ListReposBuilder<'octo, 'b> where
'octo: 'b,
'octo: 'b,
impl<'octo, 'b> !UnwindSafe for ListReposBuilder<'octo, 'b>
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,