pub struct DgitInfo {
pub commit: String,
pub suite: String,
pub git_ref: String,
pub url: String,
}Expand description
Dgit information
The Dgit field format is: <commit-hash> <suite> <ref> <url>
For example: c1370424e2404d3c22bd09c828d4b28d81d897ad debian archive/debian/1.1.0 https://git.dgit.debian.org/cltl
Fields§
§commit: StringGit commit hash
suite: StringSuite (e.g., “debian”)
git_ref: StringGit reference (e.g., “archive/debian/1.1.0”)
url: StringGit repository URL
Trait Implementations§
impl Eq for DgitInfo
impl StructuralPartialEq for DgitInfo
Auto Trait Implementations§
impl Freeze for DgitInfo
impl RefUnwindSafe for DgitInfo
impl Send for DgitInfo
impl Sync for DgitInfo
impl Unpin for DgitInfo
impl UnsafeUnpin for DgitInfo
impl UnwindSafe for DgitInfo
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