pub enum DockerActionUses {
Dockerfile,
Image(LoE<DockerUses>),
}Expand description
A uses field for a Docker action step, which can be either a literal ‘Dockerfile’ or a
Docker image (potentially via an expression).
This is essentially a specialization of the common DockerUses type,
since only actions (and not workflows) allow a ‘Dockerfile’ “image”.
Variants§
Dockerfile
Image(LoE<DockerUses>)
Trait Implementations§
Source§impl Debug for DockerActionUses
impl Debug for DockerActionUses
Source§impl<'de> Deserialize<'de> for DockerActionUses
impl<'de> Deserialize<'de> for DockerActionUses
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 DockerActionUses
impl RefUnwindSafe for DockerActionUses
impl Send for DockerActionUses
impl Sync for DockerActionUses
impl Unpin for DockerActionUses
impl UnsafeUnpin for DockerActionUses
impl UnwindSafe for DockerActionUses
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