pub enum GitService {
GitHub {
user: String,
repo: String,
branch: Option<String>,
},
GitHubEnterprise {
user: String,
repo: String,
branch: Option<String>,
},
GitLab {
user: String,
repo: String,
branch: Option<String>,
},
Bitbucket {
user: String,
repo: String,
branch: Option<String>,
},
}
Expand description
Enum variants of Git hosting services which this library supports.
Variants§
GitHub
GitHub http://github.com
Fields
GitHubEnterprise
GitHub Enterprise https://github.com/enterprise
Fields
GitLab
GitLab https://gitlab.com/
Fields
Bitbucket
Bitbucket https://bitbucket.org/
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GitService
impl RefUnwindSafe for GitService
impl Send for GitService
impl Sync for GitService
impl Unpin for GitService
impl UnwindSafe for GitService
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