pub struct QueueContractResponse {
pub job_id: Option<String>,
pub started: bool,
pub outcome: String,
pub reattachable: bool,
pub detail: String,
}Expand description
The agent-facing response envelope (JSON/human).
Fields§
§job_id: Option<String>The local/remote job id, when a job exists (queued or started).
started: boolDefinite: did the job start? Never ambiguous.
outcome: StringThe outcome id.
reattachable: boolWhether the agent can reattach later (a job id exists but didn’t start).
detail: StringOperator-facing detail.
Implementations§
Trait Implementations§
Source§impl Clone for QueueContractResponse
impl Clone for QueueContractResponse
Source§impl Debug for QueueContractResponse
impl Debug for QueueContractResponse
Source§impl<'de> Deserialize<'de> for QueueContractResponse
impl<'de> Deserialize<'de> for QueueContractResponse
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 QueueContractResponse
Source§impl PartialEq for QueueContractResponse
impl PartialEq for QueueContractResponse
Source§impl Serialize for QueueContractResponse
impl Serialize for QueueContractResponse
impl StructuralPartialEq for QueueContractResponse
Auto Trait Implementations§
impl Freeze for QueueContractResponse
impl RefUnwindSafe for QueueContractResponse
impl Send for QueueContractResponse
impl Sync for QueueContractResponse
impl Unpin for QueueContractResponse
impl UnsafeUnpin for QueueContractResponse
impl UnwindSafe for QueueContractResponse
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.