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
Output
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 RefUnwindSafe for Line
impl UnwindSafe for Line
Blanket Implementations
Mutably borrows from an owned value. Read more