pub struct ItemObject { /* private fields */ }
Expand description
§on openapi.yaml
- type: object
title: SimpleInputMessage
properties:
role:
type: string
description: The role of the message (e.g. "system", "assistant", "user").
content:
type: string
description: The content of the message.
required:
- role
- content
Trait Implementations§
Source§impl Debug for ItemObject
impl Debug for ItemObject
Source§impl<'de> Deserialize<'de> for ItemObject
impl<'de> Deserialize<'de> for ItemObject
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 ItemObject
impl RefUnwindSafe for ItemObject
impl Send for ItemObject
impl Sync for ItemObject
impl Unpin for ItemObject
impl UnwindSafe for ItemObject
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