pub struct PendingServerRequestRecord {Show 24 fields
pub request_id: String,
pub runtime_id: String,
pub rpc_request_id: Value,
pub request_type: String,
pub request_kind: String,
pub thread_id: Option<String>,
pub turn_id: Option<String>,
pub item_id: Option<String>,
pub call_id: Option<String>,
pub title: Option<String>,
pub reason: Option<String>,
pub command: Option<String>,
pub cwd: Option<String>,
pub grant_root: Option<String>,
pub tool_name: Option<String>,
pub arguments: Option<Value>,
pub questions: Vec<PendingServerRequestQuestion>,
pub proposed_execpolicy_amendment: Option<Value>,
pub network_approval_context: Option<Value>,
pub permissions: Option<Value>,
pub schema: Option<Value>,
pub available_decisions: Vec<String>,
pub raw_payload: Value,
pub created_at_ms: i64,
}Fields§
§request_id: String§runtime_id: String§rpc_request_id: Value§request_type: String§request_kind: String§thread_id: Option<String>§turn_id: Option<String>§item_id: Option<String>§call_id: Option<String>§title: Option<String>§reason: Option<String>§command: Option<String>§cwd: Option<String>§grant_root: Option<String>§tool_name: Option<String>§arguments: Option<Value>§questions: Vec<PendingServerRequestQuestion>§proposed_execpolicy_amendment: Option<Value>§network_approval_context: Option<Value>§permissions: Option<Value>§schema: Option<Value>§available_decisions: Vec<String>§raw_payload: Value§created_at_ms: i64Trait Implementations§
Source§impl Clone for PendingServerRequestRecord
impl Clone for PendingServerRequestRecord
Source§fn clone(&self) -> PendingServerRequestRecord
fn clone(&self) -> PendingServerRequestRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 PendingServerRequestRecord
impl Debug for PendingServerRequestRecord
Source§impl Default for PendingServerRequestRecord
impl Default for PendingServerRequestRecord
Source§fn default() -> PendingServerRequestRecord
fn default() -> PendingServerRequestRecord
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PendingServerRequestRecordwhere
PendingServerRequestRecord: Default,
impl<'de> Deserialize<'de> for PendingServerRequestRecordwhere
PendingServerRequestRecord: Default,
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 StructuralPartialEq for PendingServerRequestRecord
Auto Trait Implementations§
impl Freeze for PendingServerRequestRecord
impl RefUnwindSafe for PendingServerRequestRecord
impl Send for PendingServerRequestRecord
impl Sync for PendingServerRequestRecord
impl Unpin for PendingServerRequestRecord
impl UnsafeUnpin for PendingServerRequestRecord
impl UnwindSafe for PendingServerRequestRecord
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