pub struct RepoMetadata {
pub repo_name: String,
pub repo_root: String,
pub branch: Option<String>,
pub head_commit: Option<String>,
pub head_commit_timestamp: Option<String>,
pub git_remote_url: Option<String>,
pub is_shallow: bool,
}Fields§
§repo_name: String§repo_root: String§branch: Option<String>§head_commit: Option<String>§head_commit_timestamp: Option<String>§git_remote_url: Option<String>§is_shallow: boolTrait Implementations§
Source§impl Clone for RepoMetadata
impl Clone for RepoMetadata
Source§fn clone(&self) -> RepoMetadata
fn clone(&self) -> RepoMetadata
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 moreSource§impl Debug for RepoMetadata
impl Debug for RepoMetadata
Source§impl<'de> Deserialize<'de> for RepoMetadata
impl<'de> Deserialize<'de> for RepoMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RepoMetadata
impl RefUnwindSafe for RepoMetadata
impl Send for RepoMetadata
impl Sync for RepoMetadata
impl Unpin for RepoMetadata
impl UnsafeUnpin for RepoMetadata
impl UnwindSafe for RepoMetadata
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