pub struct RepositoryStatus {
pub name: String,
pub profile: String,
pub labels: Vec<String>,
pub paused: bool,
pub queued_jobs: usize,
}Expand description
A configured repository and its queue.
Fields§
§name: Stringowner/name on GitHub.
profile: StringThe profile its jobs run in.
labels: Vec<String>The labels its runners register with.
paused: boolPaused repositories get no new runners; their running jobs finish.
queued_jobs: usizeIts jobs in Status::queued: queued ones its runners match and none of them took yet.
Trait Implementations§
Source§impl Clone for RepositoryStatus
impl Clone for RepositoryStatus
Source§impl Debug for RepositoryStatus
impl Debug for RepositoryStatus
Source§impl<'de> Deserialize<'de> for RepositoryStatus
impl<'de> Deserialize<'de> for RepositoryStatus
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 RepositoryStatus
Source§impl PartialEq for RepositoryStatus
impl PartialEq for RepositoryStatus
Source§impl Serialize for RepositoryStatus
impl Serialize for RepositoryStatus
impl StructuralPartialEq for RepositoryStatus
Auto Trait Implementations§
impl Freeze for RepositoryStatus
impl RefUnwindSafe for RepositoryStatus
impl Send for RepositoryStatus
impl Sync for RepositoryStatus
impl Unpin for RepositoryStatus
impl UnsafeUnpin for RepositoryStatus
impl UnwindSafe for RepositoryStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.