pub struct RunnerLabel {
pub id: Option<i32>,
pub name: String,
pub type: Option<Type>,
}
Expand description
RunnerLabel : A label for a self hosted runner
Fields§
§id: Option<i32>
Unique identifier of the label.
name: String
Name of the label.
type: Option<Type>
The type of label. Read-only labels are applied automatically when the runner is configured.
Implementations§
Source§impl RunnerLabel
impl RunnerLabel
Sourcepub fn new(name: String) -> RunnerLabel
pub fn new(name: String) -> RunnerLabel
A label for a self hosted runner
Trait Implementations§
Source§impl Clone for RunnerLabel
impl Clone for RunnerLabel
Source§fn clone(&self) -> RunnerLabel
fn clone(&self) -> RunnerLabel
Returns a duplicate of the value. Read more
1.0.0 · 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 RunnerLabel
impl Debug for RunnerLabel
Source§impl Default for RunnerLabel
impl Default for RunnerLabel
Source§fn default() -> RunnerLabel
fn default() -> RunnerLabel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunnerLabel
impl<'de> Deserialize<'de> for RunnerLabel
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
Source§impl PartialEq for RunnerLabel
impl PartialEq for RunnerLabel
Source§impl Serialize for RunnerLabel
impl Serialize for RunnerLabel
impl StructuralPartialEq for RunnerLabel
Auto Trait Implementations§
impl Freeze for RunnerLabel
impl RefUnwindSafe for RunnerLabel
impl Send for RunnerLabel
impl Sync for RunnerLabel
impl Unpin for RunnerLabel
impl UnwindSafe for RunnerLabel
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