pub struct ChatCompletionResponseContentPartText {
pub text: String,
}Expand description
Response content part for text in assistant messages
Fields§
§text: StringTrait Implementations§
Source§impl Clone for ChatCompletionResponseContentPartText
impl Clone for ChatCompletionResponseContentPartText
Source§fn clone(&self) -> ChatCompletionResponseContentPartText
fn clone(&self) -> ChatCompletionResponseContentPartText
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 moreSource§impl<'de> Deserialize<'de> for ChatCompletionResponseContentPartText
impl<'de> Deserialize<'de> for ChatCompletionResponseContentPartText
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
Source§impl PartialEq for ChatCompletionResponseContentPartText
impl PartialEq for ChatCompletionResponseContentPartText
Source§fn eq(&self, other: &ChatCompletionResponseContentPartText) -> bool
fn eq(&self, other: &ChatCompletionResponseContentPartText) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChatCompletionResponseContentPartText
Auto Trait Implementations§
impl Freeze for ChatCompletionResponseContentPartText
impl RefUnwindSafe for ChatCompletionResponseContentPartText
impl Send for ChatCompletionResponseContentPartText
impl Sync for ChatCompletionResponseContentPartText
impl Unpin for ChatCompletionResponseContentPartText
impl UnsafeUnpin for ChatCompletionResponseContentPartText
impl UnwindSafe for ChatCompletionResponseContentPartText
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