[−][src]Struct octocrab::issues::ListIssuesBuilder
Implementations
impl<'octo, 'b, 'c, 'd> ListIssuesBuilder<'octo, 'b, 'c, 'd>
[src]
pub fn milestone(self, milestone: impl Into<Filter<u64>>) -> Self
[src]
If an integer is passed, it should refer to a milestone by its number
field. If the string "*"
is passed, issues with any milestone are
accepted. If the string none is passed, issues without milestones
are returned.
pub fn assignee(self, assignee: impl Into<Filter<&'c str>>) -> Self
[src]
Filter by assignee, can be the name of a user. Pass in the string
"none"
for issues with no assigned user, and "*"
for issues assigned
to any user.
pub fn creator(self, creator: impl Into<String>) -> Self
[src]
Filter by the creator of the issue.
pub fn mentioned(self, mentioned: impl Into<String>) -> Self
[src]
Filter by the creator of the issue.
pub fn state(self, state: State) -> Self
[src]
Filter pull requests by state
.
pub fn labels(self, labels: &'d impl AsRef<[String]> + ?Sized) -> Self
[src]
Filter issues by label.
pub fn sort(self, sort: impl Into<Sort>) -> Self
[src]
What to sort results by. Can be either created
, updated
,
popularity
(comment count) or long-running
(age, filtering by pulls
updated in the last month).
pub fn direction(self, direction: impl Into<Direction>) -> Self
[src]
The direction of the sort. Can be either ascending or descending.
Default: descending when sort is created
or sort is not specified,
otherwise ascending sort.
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<Issue>>
[src]
Sends the actual request.
Trait Implementations
impl<'octo, 'b, 'c, 'd> Serialize for ListIssuesBuilder<'octo, 'b, 'c, 'd>
[src]
Auto Trait Implementations
impl<'octo, 'b, 'c, 'd> !RefUnwindSafe for ListIssuesBuilder<'octo, 'b, 'c, 'd>
[src]
impl<'octo, 'b, 'c, 'd> Send for ListIssuesBuilder<'octo, 'b, 'c, 'd>
[src]
impl<'octo, 'b, 'c, 'd> Sync for ListIssuesBuilder<'octo, 'b, 'c, 'd>
[src]
impl<'octo, 'b, 'c, 'd> Unpin for ListIssuesBuilder<'octo, 'b, 'c, 'd> where
'octo: 'b,
[src]
'octo: 'b,
impl<'octo, 'b, 'c, 'd> !UnwindSafe for ListIssuesBuilder<'octo, 'b, 'c, 'd>
[src]
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]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub 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>,