pub enum ServerRequestEvent {
ChatgptAuthTokensRefresh {
id: RequestId,
params: ChatgptAuthTokensRefreshParams,
},
ApplyPatchApproval {
id: RequestId,
params: ApplyPatchApprovalParams,
},
ExecCommandApproval {
id: RequestId,
params: ExecCommandApprovalParams,
},
CommandExecutionRequestApproval {
id: RequestId,
params: CommandExecutionRequestApprovalParams,
},
FileChangeRequestApproval {
id: RequestId,
params: FileChangeRequestApprovalParams,
},
ToolRequestUserInput {
id: RequestId,
params: ToolRequestUserInputParams,
},
DynamicToolCall {
id: RequestId,
params: DynamicToolCallParams,
},
Unknown {
id: RequestId,
method: String,
params: Value,
},
}Variants§
ChatgptAuthTokensRefresh
ApplyPatchApproval
ExecCommandApproval
CommandExecutionRequestApproval
FileChangeRequestApproval
ToolRequestUserInput
DynamicToolCall
Unknown
Trait Implementations§
Source§impl Clone for ServerRequestEvent
impl Clone for ServerRequestEvent
Source§fn clone(&self) -> ServerRequestEvent
fn clone(&self) -> ServerRequestEvent
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 moreAuto Trait Implementations§
impl Freeze for ServerRequestEvent
impl RefUnwindSafe for ServerRequestEvent
impl Send for ServerRequestEvent
impl Sync for ServerRequestEvent
impl Unpin for ServerRequestEvent
impl UnsafeUnpin for ServerRequestEvent
impl UnwindSafe for ServerRequestEvent
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