pub struct InteractionTurn {
pub role: String,
pub content: InteractionTurnContent,
pub extra: HashMap<String, Value>,
}Expand description
Interactions Turn。
Fields§
§role: String§content: InteractionTurnContent§extra: HashMap<String, Value>Trait Implementations§
Source§impl Clone for InteractionTurn
impl Clone for InteractionTurn
Source§fn clone(&self) -> InteractionTurn
fn clone(&self) -> InteractionTurn
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 InteractionTurn
impl Debug for InteractionTurn
Source§impl<'de> Deserialize<'de> for InteractionTurn
impl<'de> Deserialize<'de> for InteractionTurn
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 InteractionTurn
impl RefUnwindSafe for InteractionTurn
impl Send for InteractionTurn
impl Sync for InteractionTurn
impl Unpin for InteractionTurn
impl UnsafeUnpin for InteractionTurn
impl UnwindSafe for InteractionTurn
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