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