pub enum GitInfo {
Hosted {
owner: String,
repo: String,
host: GitHost,
committish: Option<String>,
semver: Option<Range>,
requested: Option<String>,
},
Url {
url: Url,
committish: Option<String>,
semver: Option<Range>,
},
Ssh {
ssh: String,
committish: Option<String>,
semver: Option<Range>,
},
}
Variants§
Implementations§
Trait Implementations§
impl Eq for GitInfo
impl StructuralPartialEq for GitInfo
Auto Trait Implementations§
impl Freeze for GitInfo
impl RefUnwindSafe for GitInfo
impl Send for GitInfo
impl Sync for GitInfo
impl Unpin for GitInfo
impl UnwindSafe for GitInfo
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