pub struct ApplyPatchApprovalRequestEvent {
pub call_id: String,
pub changes: HashMap<PathBuf, FileChange>,
pub reason: Option<String>,
pub grant_root: Option<PathBuf>,
}
Fields§
§call_id: String
Responses API call id for the associated patch apply call, if available.
changes: HashMap<PathBuf, FileChange>
§reason: Option<String>
Optional explanatory reason (e.g. request for extra write access).
grant_root: Option<PathBuf>
When set, the agent is asking the user to allow writes under this root for the remainder of the session.
Trait Implementations§
Source§impl Clone for ApplyPatchApprovalRequestEvent
impl Clone for ApplyPatchApprovalRequestEvent
Source§fn clone(&self) -> ApplyPatchApprovalRequestEvent
fn clone(&self) -> ApplyPatchApprovalRequestEvent
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<'de> Deserialize<'de> for ApplyPatchApprovalRequestEvent
impl<'de> Deserialize<'de> for ApplyPatchApprovalRequestEvent
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 ApplyPatchApprovalRequestEvent
impl RefUnwindSafe for ApplyPatchApprovalRequestEvent
impl Send for ApplyPatchApprovalRequestEvent
impl Sync for ApplyPatchApprovalRequestEvent
impl Unpin for ApplyPatchApprovalRequestEvent
impl UnwindSafe for ApplyPatchApprovalRequestEvent
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