pub enum VcsCommand {
Show 13 variants
Refresh {
surface_id: SurfaceId,
diff_path: Option<String>,
},
GitCommit {
surface_id: SurfaceId,
message: String,
},
GitCreateBranch {
surface_id: SurfaceId,
name: String,
},
GitSwitchBranch {
surface_id: SurfaceId,
name: String,
},
GitFetch {
surface_id: SurfaceId,
},
GitPull {
surface_id: SurfaceId,
},
GitPush {
surface_id: SurfaceId,
},
JjDescribe {
surface_id: SurfaceId,
message: String,
},
JjNew {
surface_id: SurfaceId,
message: Option<String>,
},
JjCreateBookmark {
surface_id: SurfaceId,
name: String,
},
JjSwitchBookmark {
surface_id: SurfaceId,
name: String,
},
JjFetch {
surface_id: SurfaceId,
},
JjPush {
surface_id: SurfaceId,
},
}Variants§
Refresh
GitCommit
GitCreateBranch
GitSwitchBranch
GitFetch
GitPull
GitPush
JjDescribe
JjNew
JjCreateBookmark
JjSwitchBookmark
JjFetch
JjPush
Trait Implementations§
Source§impl Clone for VcsCommand
impl Clone for VcsCommand
Source§fn clone(&self) -> VcsCommand
fn clone(&self) -> VcsCommand
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 VcsCommand
impl Debug for VcsCommand
Source§impl<'de> Deserialize<'de> for VcsCommand
impl<'de> Deserialize<'de> for VcsCommand
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 VcsCommand
impl PartialEq for VcsCommand
Source§impl Serialize for VcsCommand
impl Serialize for VcsCommand
impl Eq for VcsCommand
impl StructuralPartialEq for VcsCommand
Auto Trait Implementations§
impl Freeze for VcsCommand
impl RefUnwindSafe for VcsCommand
impl Send for VcsCommand
impl Sync for VcsCommand
impl Unpin for VcsCommand
impl UnsafeUnpin for VcsCommand
impl UnwindSafe for VcsCommand
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.