pub struct ChatMessageContent {
pub content: String,
pub name: Option<String>,
pub additional_kwargs: HashMap<String, Value>,
}Fields§
§content: String§name: Option<String>§additional_kwargs: HashMap<String, Value>Trait Implementations§
Source§impl Clone for ChatMessageContent
impl Clone for ChatMessageContent
Source§fn clone(&self) -> ChatMessageContent
fn clone(&self) -> ChatMessageContent
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 moreAuto Trait Implementations§
impl Freeze for ChatMessageContent
impl RefUnwindSafe for ChatMessageContent
impl Send for ChatMessageContent
impl Sync for ChatMessageContent
impl Unpin for ChatMessageContent
impl UnwindSafe for ChatMessageContent
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