pub struct Repository {
pub name: String,
pub profile: String,
pub labels: Vec<String>,
pub paused: bool,
pub held_until: Option<SystemTime>,
pub queued: Vec<QueuedJob>,
}Expand description
A repository as the planner sees it.
Fields§
§name: Stringowner/name on GitHub.
profile: StringThe profile its jobs run in.
labels: Vec<String>The labels its runners register with.
paused: boolPaused repositories get no new runners; their running jobs finish.
held_until: Option<SystemTime>No runner starts for this repository before then, after runners failed to take a job.
queued: Vec<QueuedJob>Its queued jobs at the last poll.
Trait Implementations§
Source§impl Clone for Repository
impl Clone for Repository
Auto Trait Implementations§
impl Freeze for Repository
impl RefUnwindSafe for Repository
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl UnsafeUnpin for Repository
impl UnwindSafe for Repository
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