pub enum RunsOnLabels {
One(String),
Many(Vec<String>),
}Expand description
The labels key of the map form, which GitHub allows as a scalar or a list.
Variants§
Trait Implementations§
Source§impl Clone for RunsOnLabels
impl Clone for RunsOnLabels
Source§fn clone(&self) -> RunsOnLabels
fn clone(&self) -> RunsOnLabels
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RunsOnLabels
impl Debug for RunsOnLabels
Source§impl Default for RunsOnLabels
impl Default for RunsOnLabels
Source§impl<'de> Deserialize<'de> for RunsOnLabels
impl<'de> Deserialize<'de> for RunsOnLabels
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
impl Eq for RunsOnLabels
Source§impl PartialEq for RunsOnLabels
impl PartialEq for RunsOnLabels
Source§impl Serialize for RunsOnLabels
impl Serialize for RunsOnLabels
impl StructuralPartialEq for RunsOnLabels
Auto Trait Implementations§
impl Freeze for RunsOnLabels
impl RefUnwindSafe for RunsOnLabels
impl Send for RunsOnLabels
impl Sync for RunsOnLabels
impl Unpin for RunsOnLabels
impl UnsafeUnpin for RunsOnLabels
impl UnwindSafe for RunsOnLabels
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