pub struct ComputerToolCallItem {
pub action: ComputerToolAction,
pub call_id: String,
pub id: String,
pub pending_safety_checks: Vec<PendingSafetyChecks>,
pub status: Status,
}Fields§
§action: ComputerToolAction§call_id: String§id: String§pending_safety_checks: Vec<PendingSafetyChecks>§status: StatusImplementations§
Source§impl ComputerToolCallItem
impl ComputerToolCallItem
pub fn new( action: ComputerToolAction, call_id: impl Into<String>, id: impl Into<String>, pending_safety_checks: Vec<PendingSafetyChecks>, status: Status, ) -> Self
Trait Implementations§
Source§impl Clone for ComputerToolCallItem
impl Clone for ComputerToolCallItem
Source§fn clone(&self) -> ComputerToolCallItem
fn clone(&self) -> ComputerToolCallItem
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 ComputerToolCallItem
impl Debug for ComputerToolCallItem
Source§impl<'de> Deserialize<'de> for ComputerToolCallItem
impl<'de> Deserialize<'de> for ComputerToolCallItem
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
Source§impl From<ComputerToolCallItem> for Item
impl From<ComputerToolCallItem> for Item
Source§fn from(item: ComputerToolCallItem) -> Self
fn from(item: ComputerToolCallItem) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ComputerToolCallItem
impl PartialEq for ComputerToolCallItem
Source§impl Serialize for ComputerToolCallItem
impl Serialize for ComputerToolCallItem
impl StructuralPartialEq for ComputerToolCallItem
Auto Trait Implementations§
impl Freeze for ComputerToolCallItem
impl RefUnwindSafe for ComputerToolCallItem
impl Send for ComputerToolCallItem
impl Sync for ComputerToolCallItem
impl Unpin for ComputerToolCallItem
impl UnwindSafe for ComputerToolCallItem
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