Struct git2::PushUpdate
source · pub struct PushUpdate<'a> { /* private fields */ }
Expand description
Represents an update which will be performed on the remote during push.
Implementations§
source§impl PushUpdate<'_>
impl PushUpdate<'_>
sourcepub fn src_refname_bytes(&self) -> &[u8] ⓘ
pub fn src_refname_bytes(&self) -> &[u8] ⓘ
Returns the source name of the reference as a byte slice.
sourcepub fn src_refname(&self) -> Option<&str>
pub fn src_refname(&self) -> Option<&str>
Returns the source name of the reference.
sourcepub fn dst_refname_bytes(&self) -> &[u8] ⓘ
pub fn dst_refname_bytes(&self) -> &[u8] ⓘ
Returns the destination name of the reference as a byte slice.
sourcepub fn dst_refname(&self) -> Option<&str>
pub fn dst_refname(&self) -> Option<&str>
Returns the destination name of the reference.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PushUpdate<'a>
impl<'a> !Send for PushUpdate<'a>
impl<'a> !Sync for PushUpdate<'a>
impl<'a> Unpin for PushUpdate<'a>
impl<'a> UnwindSafe for PushUpdate<'a>
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