pub struct Build {Show 16 fields
pub uuid: String,
pub job_name: String,
pub result: String,
pub start_time: DateTime<Utc>,
pub end_time: DateTime<Utc>,
pub duration: u32,
pub voting: bool,
pub log_url: Option<String>,
pub artifacts: Vec<Artifact>,
pub project: String,
pub branch: String,
pub pipeline: String,
pub change: Option<u64>,
pub patchset: Option<String>,
pub change_ref: String,
pub event_id: String,
}Expand description
A Build result.
Fields§
§uuid: StringThe build unique id.
job_name: StringThe job name.
result: StringThe job result.
start_time: DateTime<Utc>The start time.
end_time: DateTime<Utc>The end time.
duration: u32The job duration in second.
voting: boolThe job voting status.
log_url: Option<String>The log url.
artifacts: Vec<Artifact>The build artifacts.
project: StringThe change’s project name.
branch: StringThe change’s branch name.
pipeline: StringThe build pipeline.
change: Option<u64>The change (or PR) number.
patchset: Option<String>The patchset number (or PR commit).
change_ref: StringThe change ref.
event_id: StringThe internal event id.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Build
impl<'de> Deserialize<'de> for Build
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
Source§impl Ord for Build
impl Ord for Build
Source§impl PartialOrd for Build
impl PartialOrd for Build
impl Eq for Build
impl StructuralPartialEq for Build
Auto Trait Implementations§
impl Freeze for Build
impl RefUnwindSafe for Build
impl Send for Build
impl Sync for Build
impl Unpin for Build
impl UnwindSafe for Build
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.