pub struct LabelsApi<'a> { /* private fields */ }Implementations§
Source§impl<'a> LabelsApi<'a>
impl<'a> LabelsApi<'a>
Sourcepub async fn list(
&self,
repo: &RepoRef,
query: Option<&str>,
inherited: bool,
page: u32,
limit: u32,
) -> Result<Vec<Label>>
pub async fn list( &self, repo: &RepoRef, query: Option<&str>, inherited: bool, page: u32, limit: u32, ) -> Result<Vec<Label>>
GET …/labels. With inherited, labels defined on the enclosing
spaces come too — the full set a pull request can be given.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LabelsApi<'a>
impl<'a> !UnwindSafe for LabelsApi<'a>
impl<'a> Forget for LabelsApi<'a>
impl<'a> Freeze for LabelsApi<'a>
impl<'a> Send for LabelsApi<'a>
impl<'a> Sync for LabelsApi<'a>
impl<'a> Unpin for LabelsApi<'a>
impl<'a> UnsafeUnpin for LabelsApi<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more