pub struct GithubWorkerLogEvent { /* private fields */ }Expand description
Sanitized canonical Worker event ready for durable projection.
Implementations§
Source§impl GithubWorkerLogEvent
impl GithubWorkerLogEvent
Sourcepub const fn identity(&self) -> &GithubRunAttemptLogIdentity
pub const fn identity(&self) -> &GithubRunAttemptLogIdentity
Exact repository/run/attempt/source/workflow identity.
Sourcepub const fn job_id(&self) -> GithubActionsJobId
pub const fn job_id(&self) -> GithubActionsJobId
Exact numeric Actions job ID.
Sourcepub const fn sorted_job_index(&self) -> u16
pub const fn sorted_job_index(&self) -> u16
Zero-based position after numeric job-ID sorting.
Sourcepub const fn line_ordinal(&self) -> u32
pub const fn line_ordinal(&self) -> u32
One-based line position within the selected job log.
Sourcepub const fn occurred_at_ms(&self) -> u64
pub const fn occurred_at_ms(&self) -> u64
Stable completion timestamp from exact terminal job metadata.
Sourcepub const fn source_sequence(&self) -> u64
pub const fn source_sequence(&self) -> u64
Collision-free Worker source sequence for the bounded tuple.
Sourcepub fn source_event_sha256(&self) -> &str
pub fn source_event_sha256(&self) -> &str
SHA-256 of the sanitized canonical event, never raw log bytes.
Sourcepub const fn unsafe_line(&self) -> bool
pub const fn unsafe_line(&self) -> bool
Whether unsafe input was replaced by the whole-line marker.
Sourcepub const fn projected_store_bytes(&self) -> u64
pub const fn projected_store_bytes(&self) -> u64
Conservative upper bound for this event’s canonical managed-store record.
Trait Implementations§
Source§impl Clone for GithubWorkerLogEvent
impl Clone for GithubWorkerLogEvent
Source§impl Debug for GithubWorkerLogEvent
impl Debug for GithubWorkerLogEvent
impl Eq for GithubWorkerLogEvent
Source§impl PartialEq for GithubWorkerLogEvent
impl PartialEq for GithubWorkerLogEvent
impl StructuralPartialEq for GithubWorkerLogEvent
Auto Trait Implementations§
impl Freeze for GithubWorkerLogEvent
impl RefUnwindSafe for GithubWorkerLogEvent
impl Send for GithubWorkerLogEvent
impl Sync for GithubWorkerLogEvent
impl Unpin for GithubWorkerLogEvent
impl UnsafeUnpin for GithubWorkerLogEvent
impl UnwindSafe for GithubWorkerLogEvent
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.