pub struct HitlResponse {
pub hitl_id: String,
pub action_hash: String,
pub allow: bool,
pub reason: String,
pub surface: String,
pub issued_at: Option<DateTime<Utc>>,
pub label: Option<String>,
}Expand description
EventKind::HitlResponse payload: the human’s decision, echoing the pin.
Fields§
§hitl_id: String§action_hash: String§allow: bool§reason: String§surface: String“cli” | “hub” | “ios” | “auto”.
issued_at: Option<DateTime<Utc>>When the answer was given; signed for the same reason as
HitlRequest::issued_at. None (an older writer) settles nothing.
label: Option<String>What was decided, for mur agent hitl list (#1806): tool name plus a
redacted, truncated summary built by label::decision_label. It is
written into a signed append-only log, so it must never carry raw
input. None = an older writer, or a surface that has no tool call.
Trait Implementations§
Source§impl Clone for HitlResponse
impl Clone for HitlResponse
Source§impl Debug for HitlResponse
impl Debug for HitlResponse
Source§impl<'de> Deserialize<'de> for HitlResponse
impl<'de> Deserialize<'de> for HitlResponse
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 HitlResponse
impl RefUnwindSafe for HitlResponse
impl Send for HitlResponse
impl Sync for HitlResponse
impl Unpin for HitlResponse
impl UnsafeUnpin for HitlResponse
impl UnwindSafe for HitlResponse
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