pub struct AdoStep {
pub task: Option<String>,
pub script: Option<String>,
pub bash: Option<String>,
pub powershell: Option<String>,
pub pwsh: Option<String>,
pub template: Option<String>,
pub display_name: Option<String>,
pub name: Option<String>,
pub env: Option<HashMap<String, String>>,
pub inputs: Option<HashMap<String, Value>>,
pub checkout: Option<String>,
pub persist_credentials: Option<bool>,
}Fields§
§task: Option<String>Task reference e.g. AzureCLI@2
script: Option<String>Inline script (cmd/sh)
bash: Option<String>Inline bash script
powershell: Option<String>Inline PowerShell script
pwsh: Option<String>Cross-platform PowerShell
template: Option<String>Step-level template reference
display_name: Option<String>§name: Option<String>Legacy name alias
env: Option<HashMap<String, String>>§inputs: Option<HashMap<String, Value>>Task inputs (key → value, but values may be nested)
checkout: Option<String>Checkout step target (e.g. self, a repo alias, or none)
persist_credentials: Option<bool>When true on a checkout step, writes credentials to .git/config for subsequent steps.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AdoStep
impl<'de> Deserialize<'de> for AdoStep
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 AdoStep
impl RefUnwindSafe for AdoStep
impl Send for AdoStep
impl Sync for AdoStep
impl Unpin for AdoStep
impl UnsafeUnpin for AdoStep
impl UnwindSafe for AdoStep
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