pub struct GitHubActions {
pub name: Option<String>,
pub on: Option<Value>,
pub env: Option<Value>,
pub permissions: Option<Value>,
pub concurrency: Option<Value>,
pub defaults: Option<Value>,
pub jobs: HashMap<String, GHJob>,
}Fields§
§name: Option<String>§on: Option<Value>§env: Option<Value>§permissions: Option<Value>§concurrency: Option<Value>§defaults: Option<Value>§jobs: HashMap<String, GHJob>Jobs map — the core of the workflow
Implementations§
Source§impl GitHubActions
impl GitHubActions
pub fn from_value(data: &Value) -> Result<Self, String>
Trait Implementations§
Source§impl Clone for GitHubActions
impl Clone for GitHubActions
Source§fn clone(&self) -> GitHubActions
fn clone(&self) -> GitHubActions
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 ConfigValidator for GitHubActions
impl ConfigValidator for GitHubActions
Source§fn validate_structure(&self) -> Vec<Diagnostic>
fn validate_structure(&self) -> Vec<Diagnostic>
Structural validation — errors mean the config is invalid. Read more
Source§fn validate_semantics(&self) -> Vec<Diagnostic>
fn validate_semantics(&self) -> Vec<Diagnostic>
Semantic validation — best-practice warnings, hints, and info. Read more
Source§fn validate(&self) -> ValidationResult
fn validate(&self) -> ValidationResult
Full validation: structure + semantics combined.
Source§impl Debug for GitHubActions
impl Debug for GitHubActions
Source§impl<'de> Deserialize<'de> for GitHubActions
impl<'de> Deserialize<'de> for GitHubActions
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 GitHubActions
impl RefUnwindSafe for GitHubActions
impl Send for GitHubActions
impl Sync for GitHubActions
impl Unpin for GitHubActions
impl UnsafeUnpin for GitHubActions
impl UnwindSafe for GitHubActions
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