pub struct Busy {
pub message: String,
pub jobs: Vec<RunningJob>,
}Expand description
The body of a 409 refused because runners use what the request would change. Has the message of an
ErrorResponse, so a client that reads only that still gets it.
Fields§
§message: StringWhat went wrong, naming the jobs.
jobs: Vec<RunningJob>The runners in the way.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Busy
impl<'de> Deserialize<'de> for Busy
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 Busy
impl StructuralPartialEq for Busy
Auto Trait Implementations§
impl Freeze for Busy
impl RefUnwindSafe for Busy
impl Send for Busy
impl Sync for Busy
impl Unpin for Busy
impl UnsafeUnpin for Busy
impl UnwindSafe for Busy
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.