Enum GhRunner
pub enum GhRunner {
GhHosted(GhRunnerOsLabel),
SelfHosted(Vec<String>),
RunnerGroup {
group: String,
labels: Vec<String>,
},
}
Expand description
GitHub runner type
Variants§
Implementations§
§impl GhRunner
impl GhRunner
pub fn is_self_hosted_with_label(&self, label: &str) -> bool
pub fn is_self_hosted_with_label(&self, label: &str) -> bool
Whether this is a self-hosted runner with the provided label
Trait Implementations§
impl StructuralPartialEq for GhRunner
Auto Trait Implementations§
impl Freeze for GhRunner
impl RefUnwindSafe for GhRunner
impl Send for GhRunner
impl Sync for GhRunner
impl Unpin for GhRunner
impl UnwindSafe for GhRunner
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