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 PartialEq<Line> for Line
impl PartialEq<Line> for Line
source§impl PartialOrd<Line> for Line
impl PartialOrd<Line> for Line
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more