#[non_exhaustive]pub struct LineRef<'a> {
pub previous_oid: &'a BStr,
pub new_oid: &'a BStr,
pub signature: SignatureRef<'a>,
pub message: &'a BStr,
}
Expand description
A parsed ref log line.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.previous_oid: &'a BStr
The previous object id in hexadecimal. Use LineRef::previous_oid()
to get a more usable form.
new_oid: &'a BStr
The new object id in hexadecimal. Use LineRef::new_oid()
to get a more usable form.
signature: SignatureRef<'a>
The signature of the currently configured committer.
message: &'a BStr
The message providing details about the operation performed in this log line.
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for LineRef<'a>
impl<'a> UnwindSafe for LineRef<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more