pub struct VcsSnapshot {Show 16 fields
pub surface_id: SurfaceId,
pub mode: VcsMode,
pub repo_root: String,
pub repo_name: String,
pub cwd: String,
pub headline: String,
pub detail: Option<String>,
pub summary_text: String,
pub files: Vec<VcsFileEntry>,
pub refs: Vec<VcsRefEntry>,
pub diff_path: Option<String>,
pub diff_text: Option<String>,
pub pull_request: Option<VcsPullRequestInfo>,
pub total_insertions: u32,
pub total_deletions: u32,
pub recent_commits: Vec<VcsCommitEntry>,
}Fields§
§surface_id: SurfaceId§mode: VcsMode§repo_root: String§repo_name: String§cwd: String§headline: String§detail: Option<String>§summary_text: String§files: Vec<VcsFileEntry>§refs: Vec<VcsRefEntry>§diff_path: Option<String>§diff_text: Option<String>§pull_request: Option<VcsPullRequestInfo>§total_insertions: u32§total_deletions: u32§recent_commits: Vec<VcsCommitEntry>Trait Implementations§
Source§impl Clone for VcsSnapshot
impl Clone for VcsSnapshot
Source§fn clone(&self) -> VcsSnapshot
fn clone(&self) -> VcsSnapshot
Returns a duplicate of the value. Read more
1.0.0 · 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 VcsSnapshot
impl Debug for VcsSnapshot
Source§impl<'de> Deserialize<'de> for VcsSnapshot
impl<'de> Deserialize<'de> for VcsSnapshot
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
Source§impl PartialEq for VcsSnapshot
impl PartialEq for VcsSnapshot
Source§impl Serialize for VcsSnapshot
impl Serialize for VcsSnapshot
impl Eq for VcsSnapshot
impl StructuralPartialEq for VcsSnapshot
Auto Trait Implementations§
impl Freeze for VcsSnapshot
impl RefUnwindSafe for VcsSnapshot
impl Send for VcsSnapshot
impl Sync for VcsSnapshot
impl Unpin for VcsSnapshot
impl UnsafeUnpin for VcsSnapshot
impl UnwindSafe for VcsSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.