pub struct HitlRequest {
pub hitl_id: String,
pub action_hash: String,
pub tier: RiskTier,
pub tool_name: String,
pub tool_input: Value,
pub step_or_call_id: String,
pub agent_id: String,
pub timeout_ms: u64,
pub summary: String,
}Expand description
EventKind::HitlRequest payload: the durable, pinned approval request.
Fields§
§hitl_id: String§action_hash: StringSHA-256 of the canonical action (see mur-core hitl::pin).
tier: RiskTier§tool_name: String§tool_input: Value§step_or_call_id: String§agent_id: String§timeout_ms: u64§summary: StringTrait Implementations§
Source§impl Clone for HitlRequest
impl Clone for HitlRequest
Source§fn clone(&self) -> HitlRequest
fn clone(&self) -> HitlRequest
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 HitlRequest
impl Debug for HitlRequest
Source§impl<'de> Deserialize<'de> for HitlRequest
impl<'de> Deserialize<'de> for HitlRequest
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 HitlRequest
impl RefUnwindSafe for HitlRequest
impl Send for HitlRequest
impl Sync for HitlRequest
impl Unpin for HitlRequest
impl UnsafeUnpin for HitlRequest
impl UnwindSafe for HitlRequest
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