pub struct Runner {Show 18 fields
pub id: u64,
pub description: String,
pub ip_address: Option<String>,
pub active: bool,
pub online: bool,
pub status: RunnerStatus,
pub runner_type: RunnerType,
pub is_shared: bool,
pub name: Option<String>,
pub tag_list: Vec<String>,
pub version: Option<String>,
pub architecture: Option<String>,
pub platform: Option<String>,
pub contacted_at: Option<DateTime<Utc>>,
pub maximum_timeout: Option<u64>,
pub run_untagged: bool,
pub locked: bool,
pub access_level: Option<String>,
}Expand description
A GitLab CI/CD runner.
Runners are agents that execute CI/CD jobs. They can be shared across projects or specific to a project/group.
Fields§
§id: u64Unique runner identifier
description: StringRunner description
ip_address: Option<String>IP address of the runner
active: boolWhether the runner is active
online: boolWhether the runner is currently online
status: RunnerStatusCurrent status of the runner
runner_type: RunnerTypeType of runner (instance, group, or project)
Whether the runner is shared across projects
name: Option<String>Runner name
tag_list: Vec<String>Tags associated with the runner
version: Option<String>Version of GitLab Runner software
architecture: Option<String>Runner architecture (e.g., “amd64”, “arm64”)
platform: Option<String>Runner platform (e.g., “linux”, “windows”, “darwin”)
contacted_at: Option<DateTime<Utc>>Last time the runner contacted GitLab
maximum_timeout: Option<u64>Maximum timeout for jobs on this runner
run_untagged: boolWhether jobs can run without tags
locked: boolWhether the runner is locked to specific projects
access_level: Option<String>Access level (not_protected or ref_protected)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Runner
impl<'de> Deserialize<'de> for Runner
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl StructuralPartialEq for Runner
Auto Trait Implementations§
impl Freeze for Runner
impl RefUnwindSafe for Runner
impl Send for Runner
impl Sync for Runner
impl Unpin for Runner
impl UnwindSafe for Runner
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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