pub struct RunningJob {
pub repository: String,
pub runner: String,
pub job: Option<u64>,
}Expand description
A runner of this daemon that holds a slot, and the job it runs, if it took one.
Fields§
§repository: Stringowner/name the runner is registered on.
runner: StringThe runner’s name, also its container’s.
job: Option<u64>The job’s ID; None while the runner waits for a job or before its log shows which it took.
Trait Implementations§
Source§impl Clone for RunningJob
impl Clone for RunningJob
Source§impl Debug for RunningJob
impl Debug for RunningJob
Source§impl<'de> Deserialize<'de> for RunningJob
impl<'de> Deserialize<'de> for RunningJob
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 Display for RunningJob
impl Display for RunningJob
impl Eq for RunningJob
Source§impl PartialEq for RunningJob
impl PartialEq for RunningJob
Source§impl Serialize for RunningJob
impl Serialize for RunningJob
impl StructuralPartialEq for RunningJob
Auto Trait Implementations§
impl Freeze for RunningJob
impl RefUnwindSafe for RunningJob
impl Send for RunningJob
impl Sync for RunningJob
impl Unpin for RunningJob
impl UnsafeUnpin for RunningJob
impl UnwindSafe for RunningJob
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