pub struct SemanticSegment {
pub repo: Option<RepoIdentity>,
pub source_tier: Option<SourceTier>,
pub kind: Kind,
pub agent: String,
pub session_id: String,
pub entries: Vec<TimelineEntry>,
}Fields§
§repo: Option<RepoIdentity>§source_tier: Option<SourceTier>The trust tier of the strongest signal that produced repo.
None when repo is None.
kind: Kind§agent: String§session_id: String§entries: Vec<TimelineEntry>Implementations§
Source§impl SemanticSegment
impl SemanticSegment
pub fn project_label(&self) -> String
Sourcepub fn has_assertable_identity(&self) -> bool
pub fn has_assertable_identity(&self) -> bool
Whether the repo identity is strong enough for canonical store placement.
Returns false for None repo or Fallback/Opaque tiers.
Trait Implementations§
Source§impl Clone for SemanticSegment
impl Clone for SemanticSegment
Source§fn clone(&self) -> SemanticSegment
fn clone(&self) -> SemanticSegment
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 SemanticSegment
impl RefUnwindSafe for SemanticSegment
impl Send for SemanticSegment
impl Sync for SemanticSegment
impl Unpin for SemanticSegment
impl UnsafeUnpin for SemanticSegment
impl UnwindSafe for SemanticSegment
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