pub struct WorktreeApi { /* private fields */ }Expand description
Worktree API client.
Implementations§
Source§impl WorktreeApi
impl WorktreeApi
Sourcepub fn new(http: HttpClient) -> Self
pub fn new(http: HttpClient) -> Self
Create a new Worktree API client.
Sourcepub async fn create(&self, req: &CreateWorktreeRequest) -> Result<Worktree>
pub async fn create(&self, req: &CreateWorktreeRequest) -> Result<Worktree>
Trait Implementations§
Source§impl Clone for WorktreeApi
impl Clone for WorktreeApi
Source§fn clone(&self) -> WorktreeApi
fn clone(&self) -> WorktreeApi
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WorktreeApi
impl !RefUnwindSafe for WorktreeApi
impl Send for WorktreeApi
impl Sync for WorktreeApi
impl Unpin for WorktreeApi
impl !UnwindSafe for WorktreeApi
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