pub struct Job {Show 20 fields
pub id: JobId,
pub status: StatusState,
pub stage: String,
pub name: String,
pub ref_: Option<String>,
pub tag: bool,
pub coverage: Option<f64>,
pub created_at: DateTime<Utc>,
pub started_at: Option<DateTime<Utc>>,
pub finished_at: Option<DateTime<Utc>>,
pub user: Option<User>,
pub artifacts_file: Option<JobArtifactFile>,
pub commit: RepoCommit,
pub runner: Option<Runner>,
pub pipeline: PipelineBasic,
pub allow_failure: bool,
pub duration: Option<f64>,
pub artifacts: Vec<JobArtifact>,
pub artifacts_expire_at: Option<DateTime<Utc>>,
pub web_url: String,
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
Information about a job in Gitlab CI.
Fields§
§id: JobId
👎Deprecated since 0.1609.0: define deserialization types in client code
The ID of the job.
status: StatusState
👎Deprecated since 0.1609.0: define deserialization types in client code
The status of the job.
stage: String
👎Deprecated since 0.1609.0: define deserialization types in client code
§name: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The name of the job.
ref_: Option<String>
👎Deprecated since 0.1609.0: define deserialization types in client code
The name of the reference that was tested.
tag: bool
👎Deprecated since 0.1609.0: define deserialization types in client code
§coverage: Option<f64>
👎Deprecated since 0.1609.0: define deserialization types in client code
§created_at: DateTime<Utc>
👎Deprecated since 0.1609.0: define deserialization types in client code
When the job was created or marked as pending.
started_at: Option<DateTime<Utc>>
👎Deprecated since 0.1609.0: define deserialization types in client code
When the job was started.
finished_at: Option<DateTime<Utc>>
👎Deprecated since 0.1609.0: define deserialization types in client code
When the job completed.
user: Option<User>
👎Deprecated since 0.1609.0: define deserialization types in client code
The user which ran the job.
artifacts_file: Option<JobArtifactFile>
👎Deprecated since 0.1609.0: define deserialization types in client code
The artifact file uploaded from the job.
commit: RepoCommit
👎Deprecated since 0.1609.0: define deserialization types in client code
The commit the job tested.
runner: Option<Runner>
👎Deprecated since 0.1609.0: define deserialization types in client code
The runner which ran the job.
pipeline: PipelineBasic
👎Deprecated since 0.1609.0: define deserialization types in client code
The pipeline the job belongs to.
allow_failure: bool
👎Deprecated since 0.1609.0: define deserialization types in client code
§duration: Option<f64>
👎Deprecated since 0.1609.0: define deserialization types in client code
§artifacts: Vec<JobArtifact>
👎Deprecated since 0.1609.0: define deserialization types in client code
§artifacts_expire_at: Option<DateTime<Utc>>
👎Deprecated since 0.1609.0: define deserialization types in client code
§web_url: String
👎Deprecated since 0.1609.0: define deserialization types in client code
Trait Implementations§
source§impl<'de> Deserialize<'de> for Job
impl<'de> Deserialize<'de> for Job
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnwindSafe for Job
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