pub struct FileChangeRequestApprovalParams {
pub grant_root: Option<String>,
pub item_id: String,
pub reason: Option<String>,
pub started_at_ms: i64,
pub thread_id: String,
pub turn_id: String,
}Fields§
§grant_root: Option<String>[UNSTABLE] When set, the agent is asking the user to allow writes under this root for the remainder of the session (unclear if this is honored today).
item_id: String§reason: Option<String>Optional explanatory reason (e.g. request for extra write access).
started_at_ms: i64Unix timestamp (in milliseconds) when this approval request started.
thread_id: String§turn_id: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for FileChangeRequestApprovalParams
impl<'de> Deserialize<'de> for FileChangeRequestApprovalParams
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 FileChangeRequestApprovalParams
Auto Trait Implementations§
impl Forget for FileChangeRequestApprovalParams
impl Freeze for FileChangeRequestApprovalParams
impl RefUnwindSafe for FileChangeRequestApprovalParams
impl Send for FileChangeRequestApprovalParams
impl Sync for FileChangeRequestApprovalParams
impl Unpin for FileChangeRequestApprovalParams
impl UnsafeUnpin for FileChangeRequestApprovalParams
impl UnwindSafe for FileChangeRequestApprovalParams
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