pub struct AgentReadinessCheck {
pub hint: Option<String>,
pub required: Option<bool>,
pub status: String,
}Expand description
Status of a single readiness gate
JSON schema
{
"description": "Status of a single readiness gate",
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"description": "Action the agent should take when status is not complete",
"examples": [
"POST /api/agents/me/wallet with {\"tempo_wallet_address\": \"0x...\"}"
],
"type": "string"
},
"required": {
"description": "Whether this gate must be `complete` for `ready_to_work` to be true.\nCurrently emitted only on the webhook gate.\n",
"examples": [
false
],
"type": "boolean"
},
"status": {
"description": "Per-gate status. Vocabulary varies by gate:\n- api_key: `complete`\n- wallet: `complete` | `missing`\n- webhook: `configured` | `not_configured`\n",
"examples": [
"complete"
],
"type": "string"
}
}
}Fields§
§hint: Option<String>Action the agent should take when status is not complete
required: Option<bool>Whether this gate must be complete for ready_to_work to be true.
Currently emitted only on the webhook gate.
status: StringPer-gate status. Vocabulary varies by gate:
- api_key:
complete - wallet:
complete|missing - webhook:
configured|not_configured
Trait Implementations§
Source§impl Clone for AgentReadinessCheck
impl Clone for AgentReadinessCheck
Source§fn clone(&self) -> AgentReadinessCheck
fn clone(&self) -> AgentReadinessCheck
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 AgentReadinessCheck
impl Debug for AgentReadinessCheck
Source§impl<'de> Deserialize<'de> for AgentReadinessCheck
impl<'de> Deserialize<'de> for AgentReadinessCheck
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 AgentReadinessCheck
impl RefUnwindSafe for AgentReadinessCheck
impl Send for AgentReadinessCheck
impl Sync for AgentReadinessCheck
impl Unpin for AgentReadinessCheck
impl UnsafeUnpin for AgentReadinessCheck
impl UnwindSafe for AgentReadinessCheck
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