pub struct LifecycleGithubObservation {
pub status: GithubRunnerObservation,
pub runner_id: Option<u64>,
}Expand description
GitHub’s authoritative runner state plus the identity returned by inventory. The id is carried independently of the local sidecar so recovery can close the crash boundary immediately after a successful remote registration.
Fields§
§status: GithubRunnerObservation§runner_id: Option<u64>Implementations§
Source§impl LifecycleGithubObservation
impl LifecycleGithubObservation
pub const fn unreachable() -> Self
pub const fn not_registered() -> Self
pub const fn registered(runner_id: u64, busy: bool) -> Self
Trait Implementations§
Source§impl Clone for LifecycleGithubObservation
impl Clone for LifecycleGithubObservation
Source§fn clone(&self) -> LifecycleGithubObservation
fn clone(&self) -> LifecycleGithubObservation
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 moreimpl Copy for LifecycleGithubObservation
Source§impl Debug for LifecycleGithubObservation
impl Debug for LifecycleGithubObservation
impl Eq for LifecycleGithubObservation
impl StructuralPartialEq for LifecycleGithubObservation
Auto Trait Implementations§
impl Freeze for LifecycleGithubObservation
impl RefUnwindSafe for LifecycleGithubObservation
impl Send for LifecycleGithubObservation
impl Sync for LifecycleGithubObservation
impl Unpin for LifecycleGithubObservation
impl UnsafeUnpin for LifecycleGithubObservation
impl UnwindSafe for LifecycleGithubObservation
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,
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.