Struct octocrab::repos::forks::CreateForkBuilder
source · pub struct CreateForkBuilder<'octo, 'r> { /* private fields */ }
Implementations§
source§impl<'octo, 'r> CreateForkBuilder<'octo, 'r>
impl<'octo, 'r> CreateForkBuilder<'octo, 'r>
sourcepub fn organization(self, organization: impl Into<String>) -> Self
pub fn organization(self, organization: impl Into<String>) -> Self
The organization name, if forking into an organization.
sourcepub async fn send(self) -> Result<Repository>
pub async fn send(self) -> Result<Repository>
Sends the actual request.
Trait Implementations§
Auto Trait Implementations§
impl<'octo, 'r> Freeze for CreateForkBuilder<'octo, 'r>
impl<'octo, 'r> !RefUnwindSafe for CreateForkBuilder<'octo, 'r>
impl<'octo, 'r> Send for CreateForkBuilder<'octo, 'r>
impl<'octo, 'r> Sync for CreateForkBuilder<'octo, 'r>
impl<'octo, 'r> Unpin for CreateForkBuilder<'octo, 'r>
impl<'octo, 'r> !UnwindSafe for CreateForkBuilder<'octo, 'r>
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