pub struct TriggerQueueItem {
pub id: i64,
pub branch_id: i64,
pub new_hash: CommitHash,
pub target_repo: TargetRepo,
pub event_type: EventType,
pub gh_app_installation_id: i64,
pub retry_count: i64,
}Expand description
Represents a row in the trigger_queue table.
Fields§
§id: i64Unique database primary key.
branch_id: i64Foreign key to Branch::id.
new_hash: CommitHashThe hash of the latest commit on the branch.
target_repo: TargetRepoThe repository whose workflow needs to be triggered.
event_type: EventTypeIdentifies the specific repository_dispatch event.
gh_app_installation_id: i64Allows authenticating as a GitHub App installation.
retry_count: i64Number of times the task has been attempted.
Trait Implementations§
Source§impl Debug for TriggerQueueItem
impl Debug for TriggerQueueItem
Source§impl<'a, R: Row> FromRow<'a, R> for TriggerQueueItem
impl<'a, R: Row> FromRow<'a, R> for TriggerQueueItem
Auto Trait Implementations§
impl Freeze for TriggerQueueItem
impl RefUnwindSafe for TriggerQueueItem
impl Send for TriggerQueueItem
impl Sync for TriggerQueueItem
impl Unpin for TriggerQueueItem
impl UnsafeUnpin for TriggerQueueItem
impl UnwindSafe for TriggerQueueItem
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more