pub struct Workflow {
pub name: Option<String>,
pub run_name: Option<String>,
pub on: Trigger,
pub permissions: Permissions,
pub env: LoE<Env>,
pub defaults: Option<Defaults>,
pub concurrency: Option<Concurrency>,
pub jobs: IndexMap<String, Job>,
}
Expand description
A single GitHub Actions workflow.
Fields§
§name: Option<String>
§run_name: Option<String>
§on: Trigger
§permissions: Permissions
§env: LoE<Env>
§defaults: Option<Defaults>
§concurrency: Option<Concurrency>
§jobs: IndexMap<String, Job>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Workflow
impl<'de> Deserialize<'de> for Workflow
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 Workflow
impl RefUnwindSafe for Workflow
impl Send for Workflow
impl Sync for Workflow
impl Unpin for Workflow
impl UnwindSafe for Workflow
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