pub struct SetupRemote<'a> {
pub rid: RepoId,
pub tracking: Option<BranchName>,
pub fetch: bool,
pub repo: &'a Repository,
}Expand description
Setup a repository remote and tracking branch.
Fields§
§rid: RepoIdThe repository id.
tracking: Option<BranchName>Whether or not to setup a remote tracking branch.
fetch: boolWhether or not to fetch the remote immediately.
repo: &'a RepositoryThe repository in which to setup the remote.
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SetupRemote<'a>
impl<'a> RefUnwindSafe for SetupRemote<'a>
impl<'a> !Send for SetupRemote<'a>
impl<'a> !Sync for SetupRemote<'a>
impl<'a> Unpin for SetupRemote<'a>
impl<'a> UnwindSafe for SetupRemote<'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