pub struct ReflogEntry<'reflog> { /* private fields */ }Expand description
An entry inside the reflog of a repository
Implementations§
Source§impl<'reflog> ReflogEntry<'reflog>
impl<'reflog> ReflogEntry<'reflog>
Sourcepub fn message_bytes(&self) -> Option<&[u8]>
pub fn message_bytes(&self) -> Option<&[u8]>
Get the log message as a byte array.
Auto Trait Implementations§
impl<'reflog> Freeze for ReflogEntry<'reflog>
impl<'reflog> RefUnwindSafe for ReflogEntry<'reflog>
impl<'reflog> !Send for ReflogEntry<'reflog>
impl<'reflog> !Sync for ReflogEntry<'reflog>
impl<'reflog> Unpin for ReflogEntry<'reflog>
impl<'reflog> UnwindSafe for ReflogEntry<'reflog>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more