pub struct RepoVersion {
pub revision: String,
pub tag: Option<String>,
pub version: Option<Version>,
pub commit_date: DateTime<Utc>,
pub is_prerelease: bool,
pub commit_hash: Option<String>,
}Expand description
Repository version information
Fields§
§revision: String§tag: Option<String>§version: Option<Version>§commit_date: DateTime<Utc>§is_prerelease: bool§commit_hash: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for RepoVersion
impl Clone for RepoVersion
Source§fn clone(&self) -> RepoVersion
fn clone(&self) -> RepoVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RepoVersion
impl RefUnwindSafe for RepoVersion
impl Send for RepoVersion
impl Sync for RepoVersion
impl Unpin for RepoVersion
impl UnsafeUnpin for RepoVersion
impl UnwindSafe for RepoVersion
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