Struct github_actions_models::action::UseAction
source · pub struct UseAction {
pub uses: String,
pub with: HashMap<String, String>,
pub if: Option<String>,
}
Expand description
A step that uses another GitHub Action.
Fields§
§uses: String
The GitHub Action being used.
with: HashMap<String, String>
Any inputs to the action being used.
if: Option<String>
An optional expression that prevents this step from running unless it evaluates to true
.
Trait Implementations§
source§impl<'de> Deserialize<'de> for UseAction
impl<'de> Deserialize<'de> for UseAction
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 RefUnwindSafe for UseAction
impl Send for UseAction
impl Sync for UseAction
impl Unpin for UseAction
impl UnwindSafe for UseAction
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