pub struct VcsInfo {
pub type: Option<String>,
pub branch: Option<String>,
pub remote: Option<String>,
}Expand description
VCS information.
Fields§
§type: Option<String>VCS type (git, etc.).
branch: Option<String>Current branch.
remote: Option<String>Remote URL.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VcsInfo
impl<'de> Deserialize<'de> for VcsInfo
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 VcsInfo
impl RefUnwindSafe for VcsInfo
impl Send for VcsInfo
impl Sync for VcsInfo
impl Unpin for VcsInfo
impl UnwindSafe for VcsInfo
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