pub struct GetRepoBuilder { /* private fields */ }
Implementations§
Source§impl GetRepoBuilder
impl GetRepoBuilder
pub fn new(owner: impl ToString, repo: impl ToString) -> Self
Sourcepub async fn send(&self, client: &Client) -> Result<Repository>
pub async fn send(&self, client: &Client) -> Result<Repository>
Send the request to get the repository. This will return a Repository object if the repository exists and is visible to the currently authenticated user.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetRepoBuilder
impl RefUnwindSafe for GetRepoBuilder
impl Send for GetRepoBuilder
impl Sync for GetRepoBuilder
impl Unpin for GetRepoBuilder
impl UnwindSafe for GetRepoBuilder
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