pub struct ApprovalRequestedNotification {
pub thread_id: ThreadId,
pub turn_id: TurnId,
pub approval_id: String,
pub tool_id: String,
pub tool_name: String,
pub reason: Option<String>,
}Fields§
§thread_id: ThreadId§turn_id: TurnId§approval_id: String§tool_id: String§tool_name: String§reason: Option<String>Trait Implementations§
Source§impl Clone for ApprovalRequestedNotification
impl Clone for ApprovalRequestedNotification
Source§fn clone(&self) -> ApprovalRequestedNotification
fn clone(&self) -> ApprovalRequestedNotification
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<'de> Deserialize<'de> for ApprovalRequestedNotification
impl<'de> Deserialize<'de> for ApprovalRequestedNotification
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 ApprovalRequestedNotification
impl RefUnwindSafe for ApprovalRequestedNotification
impl Send for ApprovalRequestedNotification
impl Sync for ApprovalRequestedNotification
impl Unpin for ApprovalRequestedNotification
impl UnsafeUnpin for ApprovalRequestedNotification
impl UnwindSafe for ApprovalRequestedNotification
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