pub struct Line {
pub previous_oid: ObjectId,
pub new_oid: ObjectId,
pub signature: Signature,
pub message: BString,
}
Expand description
A parsed ref log line that can be changed
Fields§
§previous_oid: ObjectId
The previous object id. Can be a null-sha to indicate this is a line for a new ref.
new_oid: ObjectId
The new object id. Can be a null-sha to indicate this ref is being deleted.
signature: Signature
The signature of the currently configured committer.
message: BString
The message providing details about the operation performed in this log line.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Line
impl<'de> Deserialize<'de> for Line
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
Source§impl Ord for Line
impl Ord for Line
Source§impl PartialOrd for Line
impl PartialOrd for Line
impl Eq for Line
impl StructuralPartialEq for Line
Auto Trait Implementations§
impl Freeze for Line
impl RefUnwindSafe for Line
impl Send for Line
impl Sync for Line
impl Unpin for Line
impl UnwindSafe for Line
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