pub struct SessionLink {
pub id: Uuid,
pub session_id: Uuid,
pub link_type: LinkType,
pub commit_sha: Option<String>,
pub branch: Option<String>,
pub remote: Option<String>,
pub created_at: DateTime<Utc>,
pub created_by: LinkCreator,
pub confidence: Option<f64>,
}Expand description
Links a session to a git commit
Fields§
§id: UuidUnique identifier
session_id: UuidSession being linked
link_type: LinkTypeType of link
commit_sha: Option<String>Git commit SHA (full)
branch: Option<String>Branch name
remote: Option<String>Remote name (e.g., “origin”)
created_at: DateTime<Utc>When the link was created
created_by: LinkCreatorHow the link was created
confidence: Option<f64>Confidence score for auto-links (0.0 - 1.0)
Trait Implementations§
Source§impl Clone for SessionLink
impl Clone for SessionLink
Source§fn clone(&self) -> SessionLink
fn clone(&self) -> SessionLink
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 moreSource§impl Debug for SessionLink
impl Debug for SessionLink
Source§impl<'de> Deserialize<'de> for SessionLink
impl<'de> Deserialize<'de> for SessionLink
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
Auto Trait Implementations§
impl Freeze for SessionLink
impl RefUnwindSafe for SessionLink
impl Send for SessionLink
impl Sync for SessionLink
impl Unpin for SessionLink
impl UnwindSafe for SessionLink
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