pub struct Repository {
pub name: String,
pub profile: String,
pub labels: Vec<String>,
pub warm: u32,
}Expand description
A repository to serve: [[repositories]].
Fields§
§name: Stringowner/name on GitHub.
profile: StringThe profile its jobs run in.
labels: Vec<String>The labels its runners register with; a job runs on them when every label it asks for is one of these.
warm: u32How many idle runners it keeps registered for jobs not queued yet while it is active (ADR 0050); 0 turns warm runners off. Default 1.
Trait Implementations§
Source§impl Debug for Repository
impl Debug for Repository
Source§impl<'de> Deserialize<'de> for Repository
impl<'de> Deserialize<'de> for Repository
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 Repository
impl RefUnwindSafe for Repository
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl UnsafeUnpin for Repository
impl UnwindSafe for Repository
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