pub struct TaskAttemptRecord {Show 14 fields
pub id: String,
pub attempt_group_id: String,
pub attempt_index: u32,
pub attempt_count: u32,
pub base_ref: Option<String>,
pub base_sha: Option<String>,
pub head_ref: Option<String>,
pub head_sha: Option<String>,
pub summary: String,
pub changed_files: Vec<String>,
pub patch_path: Option<PathBuf>,
pub verification: Vec<String>,
pub selected: bool,
pub recorded_at: DateTime<Utc>,
}Expand description
PR-attempt metadata and artifacts attached to a task.
Fields§
§id: String§attempt_group_id: String§attempt_index: u32§attempt_count: u32§base_ref: Option<String>§base_sha: Option<String>§head_ref: Option<String>§head_sha: Option<String>§summary: String§changed_files: Vec<String>§patch_path: Option<PathBuf>§verification: Vec<String>§selected: bool§recorded_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for TaskAttemptRecord
impl Clone for TaskAttemptRecord
Source§fn clone(&self) -> TaskAttemptRecord
fn clone(&self) -> TaskAttemptRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TaskAttemptRecord
impl Debug for TaskAttemptRecord
Source§impl<'de> Deserialize<'de> for TaskAttemptRecord
impl<'de> Deserialize<'de> for TaskAttemptRecord
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 TaskAttemptRecord
impl RefUnwindSafe for TaskAttemptRecord
impl Send for TaskAttemptRecord
impl Sync for TaskAttemptRecord
impl Unpin for TaskAttemptRecord
impl UnsafeUnpin for TaskAttemptRecord
impl UnwindSafe for TaskAttemptRecord
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