pub struct InlineMessageBody {
pub text: String,
pub tool_call_id: Option<String>,
pub is_error: bool,
}Fields§
§text: String§tool_call_id: Option<String>For a tool message: the call this result answers, and whether it failed.
is_error: boolTrait Implementations§
Source§impl Clone for InlineMessageBody
impl Clone for InlineMessageBody
Source§fn clone(&self) -> InlineMessageBody
fn clone(&self) -> InlineMessageBody
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 Debug for InlineMessageBody
impl Debug for InlineMessageBody
Source§impl<'de> Deserialize<'de> for InlineMessageBody
impl<'de> Deserialize<'de> for InlineMessageBody
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 PartialEq for InlineMessageBody
impl PartialEq for InlineMessageBody
Source§impl Serialize for InlineMessageBody
impl Serialize for InlineMessageBody
impl StructuralPartialEq for InlineMessageBody
Auto Trait Implementations§
impl Freeze for InlineMessageBody
impl RefUnwindSafe for InlineMessageBody
impl Send for InlineMessageBody
impl Sync for InlineMessageBody
impl Unpin for InlineMessageBody
impl UnsafeUnpin for InlineMessageBody
impl UnwindSafe for InlineMessageBody
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