pub struct ConversationItem {
pub id: Option<String>,
pub item_type: String,
pub status: Option<String>,
pub role: Option<String>,
pub content: Option<Vec<ContentPart>>,
}Fields§
§id: Option<String>§item_type: String§status: Option<String>§role: Option<String>§content: Option<Vec<ContentPart>>Trait Implementations§
Source§impl Debug for ConversationItem
impl Debug for ConversationItem
Source§impl<'de> Deserialize<'de> for ConversationItem
impl<'de> Deserialize<'de> for ConversationItem
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 ConversationItem
impl RefUnwindSafe for ConversationItem
impl Send for ConversationItem
impl Sync for ConversationItem
impl Unpin for ConversationItem
impl UnwindSafe for ConversationItem
Blanket Implementations§
§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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