pub struct SelectionResponse {
pub worker: Option<SelectedWorker>,
pub reason: SelectionReason,
pub build_id: Option<u64>,
}Expand description
Worker selection response from daemon to hook.
Fields§
§worker: Option<SelectedWorker>Selected worker details, if available.
reason: SelectionReasonReason for the selection result.
build_id: Option<u64>Optional build ID assigned by the daemon (for active build tracking).
Trait Implementations§
Source§impl Clone for SelectionResponse
impl Clone for SelectionResponse
Source§fn clone(&self) -> SelectionResponse
fn clone(&self) -> SelectionResponse
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 moreSource§impl Debug for SelectionResponse
impl Debug for SelectionResponse
Source§impl<'de> Deserialize<'de> for SelectionResponse
impl<'de> Deserialize<'de> for SelectionResponse
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 SelectionResponse
impl RefUnwindSafe for SelectionResponse
impl Send for SelectionResponse
impl Sync for SelectionResponse
impl Unpin for SelectionResponse
impl UnsafeUnpin for SelectionResponse
impl UnwindSafe for SelectionResponse
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