pub struct GitInputReference {
pub commit: String,
pub reference: Option<String>,
pub dir: String,
pub extension: String,
pub author: String,
pub date: String,
pub subject: String,
}
Expand description
Metadata information about Git Txn input
Fields§
§commit: String
commit id
reference: Option<String>
Symbolic git reference main
, Y2023
, etc.
dir: String
Transaction directory (“journal”) inside repository
extension: String
Extension of journal filenames
Commit author
date: String
Commit date
subject: String
Subject line of selected commit
Trait Implementations§
Source§impl Clone for GitInputReference
impl Clone for GitInputReference
Source§fn clone(&self) -> GitInputReference
fn clone(&self) -> GitInputReference
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GitInputReference
impl Debug for GitInputReference
Auto Trait Implementations§
impl Freeze for GitInputReference
impl RefUnwindSafe for GitInputReference
impl Send for GitInputReference
impl Sync for GitInputReference
impl Unpin for GitInputReference
impl UnwindSafe for GitInputReference
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