pub struct ChatCompletionRequestDeveloperMessage {
pub content: ChatCompletionRequestDeveloperMessage_Content,
pub name: Option<String>,
}
Expand description
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Fields§
§content: ChatCompletionRequestDeveloperMessage_Content
§name: Option<String>
An optional name for the participant.
Trait Implementations§
Source§impl Clone for ChatCompletionRequestDeveloperMessage
impl Clone for ChatCompletionRequestDeveloperMessage
Source§fn clone(&self) -> ChatCompletionRequestDeveloperMessage
fn clone(&self) -> ChatCompletionRequestDeveloperMessage
Returns a copy 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 ChatCompletionRequestDeveloperMessage
impl RefUnwindSafe for ChatCompletionRequestDeveloperMessage
impl Send for ChatCompletionRequestDeveloperMessage
impl Sync for ChatCompletionRequestDeveloperMessage
impl Unpin for ChatCompletionRequestDeveloperMessage
impl UnwindSafe for ChatCompletionRequestDeveloperMessage
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