pub enum GitSyncCommand {
ListRefs,
FetchObjects {
have: Vec<String>,
want: Vec<String>,
},
}Expand description
Commands supported by the Git Push/Pull synchronization protocol.
Variants§
ListRefs
Request a list of all refs (branches/tags) from the remote peer.
FetchObjects
Request specific objects/packfiles from the remote peer.
Trait Implementations§
Source§impl Clone for GitSyncCommand
impl Clone for GitSyncCommand
Source§fn clone(&self) -> GitSyncCommand
fn clone(&self) -> GitSyncCommand
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 GitSyncCommand
impl Debug for GitSyncCommand
Source§impl<'de> Deserialize<'de> for GitSyncCommand
impl<'de> Deserialize<'de> for GitSyncCommand
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 GitSyncCommand
impl RefUnwindSafe for GitSyncCommand
impl Send for GitSyncCommand
impl Sync for GitSyncCommand
impl Unpin for GitSyncCommand
impl UnwindSafe for GitSyncCommand
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