pub struct LocalPushReport {
pub sha: String,
pub branch: String,
pub created: bool,
}Expand description
Outcome of a push_to_local_remote.
Fields§
§sha: StringThe commit SHA the remote branch now points at (the pushed head).
branch: StringThe branch that was updated on the remote.
created: booltrue when the remote branch did not exist before (a create, not an update).
Trait Implementations§
Source§impl Clone for LocalPushReport
impl Clone for LocalPushReport
Source§fn clone(&self) -> LocalPushReport
fn clone(&self) -> LocalPushReport
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 LocalPushReport
impl Debug for LocalPushReport
impl Eq for LocalPushReport
Source§impl PartialEq for LocalPushReport
impl PartialEq for LocalPushReport
impl StructuralPartialEq for LocalPushReport
Auto Trait Implementations§
impl Freeze for LocalPushReport
impl RefUnwindSafe for LocalPushReport
impl Send for LocalPushReport
impl Sync for LocalPushReport
impl Unpin for LocalPushReport
impl UnsafeUnpin for LocalPushReport
impl UnwindSafe for LocalPushReport
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.