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: ObjectIdThe previous object id. Can be a null-sha to indicate this is a line for a new ref.
new_oid: ObjectIdThe new object id. Can be a null-sha to indicate this ref is being deleted.
signature: SignatureThe signature of the currently configured committer.
message: BStringThe 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)