pub struct StageModel {Show 34 fields
pub action_id: i64,
pub arch: String,
pub created: i64,
pub errignore: bool,
pub error: String,
pub exit_code: i64,
pub id: i64,
pub is_reusable: bool,
pub kernel: String,
pub kind: String,
pub labels: Vec<String>,
pub limit: i64,
pub limit_repo: i64,
pub machine: String,
pub name: String,
pub needs: Vec<String>,
pub number: i64,
pub on_failure: bool,
pub on_success: bool,
pub os: String,
pub outputs: Option<HashMap<String, Value>>,
pub parent_group_id: i64,
pub parent_id: Option<Option<i64>>,
pub repo_id: i64,
pub started: Option<Option<i64>>,
pub status: CiStatus,
pub stopped: Option<Option<i64>>,
pub type: String,
pub updated: i64,
pub variant: String,
pub version: i64,
pub workflow_id: i64,
pub yaml_provider: WorkflowProvider,
pub yaml_resolved: String,
}Fields§
§action_id: i64§arch: String§created: i64§errignore: bool§error: String§exit_code: i64§id: i64§is_reusable: bool§kernel: String§kind: String§labels: Vec<String>§limit: i64§limit_repo: i64§machine: String§name: String§needs: Vec<String>§number: i64§on_failure: bool§on_success: bool§os: String§outputs: Option<HashMap<String, Value>>§parent_group_id: i64§parent_id: Option<Option<i64>>§repo_id: i64§started: Option<Option<i64>>§status: CiStatus§stopped: Option<Option<i64>>§type: String§updated: i64§variant: String§version: i64§workflow_id: i64§yaml_provider: WorkflowProvider§yaml_resolved: StringImplementations§
Source§impl StageModel
impl StageModel
pub fn new( action_id: i64, arch: String, created: i64, errignore: bool, error: String, exit_code: i64, id: i64, is_reusable: bool, kernel: String, kind: String, labels: Vec<String>, limit: i64, limit_repo: i64, machine: String, name: String, needs: Vec<String>, number: i64, on_failure: bool, on_success: bool, os: String, parent_group_id: i64, repo_id: i64, status: CiStatus, type: String, updated: i64, variant: String, version: i64, workflow_id: i64, yaml_provider: WorkflowProvider, yaml_resolved: String, ) -> StageModel
Trait Implementations§
Source§impl Clone for StageModel
impl Clone for StageModel
Source§fn clone(&self) -> StageModel
fn clone(&self) -> StageModel
Returns a duplicate of the value. Read more
1.0.0 · 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 StageModel
impl Debug for StageModel
Source§impl Default for StageModel
impl Default for StageModel
Source§fn default() -> StageModel
fn default() -> StageModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StageModel
impl<'de> Deserialize<'de> for StageModel
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 PartialEq for StageModel
impl PartialEq for StageModel
Source§impl Serialize for StageModel
impl Serialize for StageModel
impl StructuralPartialEq for StageModel
Auto Trait Implementations§
impl Freeze for StageModel
impl RefUnwindSafe for StageModel
impl Send for StageModel
impl Sync for StageModel
impl Unpin for StageModel
impl UnwindSafe for StageModel
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