pub struct SourcehutIssueClient { /* private fields */ }Implementations§
Trait Implementations§
Source§impl IssueClient for SourcehutIssueClient
impl IssueClient for SourcehutIssueClient
fn list(&self, owner: &str, repo: &str, _state: &str) -> Result<Vec<Issue>>
fn create( &self, owner: &str, repo: &str, opts: CreateIssueOptions, ) -> Result<Issue>
fn close(&self, owner: &str, repo: &str, number: u64) -> Result<()>
fn comment( &self, owner: &str, repo: &str, number: u64, body: &str, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for SourcehutIssueClient
impl RefUnwindSafe for SourcehutIssueClient
impl Send for SourcehutIssueClient
impl Sync for SourcehutIssueClient
impl Unpin for SourcehutIssueClient
impl UnsafeUnpin for SourcehutIssueClient
impl UnwindSafe for SourcehutIssueClient
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