pub struct CommitLink {
pub commit_hash: String,
pub session_id: String,
pub repo_path: Option<String>,
pub branch: Option<String>,
pub created_at: String,
}Expand description
A link between a git commit and an AI session.
Fields§
§commit_hash: String§session_id: String§repo_path: Option<String>§branch: Option<String>§created_at: StringTrait Implementations§
Source§impl Clone for CommitLink
impl Clone for CommitLink
Source§fn clone(&self) -> CommitLink
fn clone(&self) -> CommitLink
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CommitLink
impl RefUnwindSafe for CommitLink
impl Send for CommitLink
impl Sync for CommitLink
impl Unpin for CommitLink
impl UnwindSafe for CommitLink
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