pub struct ResetOutput {
pub mode: ResetMode,
pub target: String,
pub previous_head: String,
pub current_head: String,
}Fields§
§mode: ResetMode§target: StringRevspec / sha that was passed in as the reset target.
previous_head: StringHEAD sha before the reset (full 40-char hex).
current_head: StringHEAD sha after the reset (full 40-char hex).
Trait Implementations§
Source§impl Clone for ResetOutput
impl Clone for ResetOutput
Source§fn clone(&self) -> ResetOutput
fn clone(&self) -> ResetOutput
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 ResetOutput
impl Debug for ResetOutput
Source§impl<'de> Deserialize<'de> for ResetOutput
impl<'de> Deserialize<'de> for ResetOutput
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
impl Eq for ResetOutput
Source§impl PartialEq for ResetOutput
impl PartialEq for ResetOutput
Source§impl Serialize for ResetOutput
impl Serialize for ResetOutput
impl StructuralPartialEq for ResetOutput
Auto Trait Implementations§
impl Freeze for ResetOutput
impl RefUnwindSafe for ResetOutput
impl Send for ResetOutput
impl Sync for ResetOutput
impl Unpin for ResetOutput
impl UnsafeUnpin for ResetOutput
impl UnwindSafe for ResetOutput
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.