pub struct PendingAction {
pub id: String,
pub tool_name: String,
pub tool_input: Value,
pub tier: ToolTier,
pub created_at: OffsetDateTime,
pub expires_at: OffsetDateTime,
}Expand description
State of a pending action that requires confirmation or PIN
Fields§
§id: String§tool_name: String§tool_input: Value§tier: ToolTier§created_at: OffsetDateTime§expires_at: OffsetDateTimeTrait Implementations§
Source§impl Clone for PendingAction
impl Clone for PendingAction
Source§fn clone(&self) -> PendingAction
fn clone(&self) -> PendingAction
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 PendingAction
impl Debug for PendingAction
Source§impl<'de> Deserialize<'de> for PendingAction
impl<'de> Deserialize<'de> for PendingAction
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 PendingAction
impl RefUnwindSafe for PendingAction
impl Send for PendingAction
impl Sync for PendingAction
impl Unpin for PendingAction
impl UnwindSafe for PendingAction
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