pub struct ChatCompletionRequestMessageContentPartText {
pub text: String,
pub _type: String,
}Fields§
§text: StringThe text content.
_type: StringThe type of the content part.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatCompletionRequestMessageContentPartText
impl<'de> Deserialize<'de> for ChatCompletionRequestMessageContentPartText
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 ChatCompletionRequestMessageContentPartText
impl RefUnwindSafe for ChatCompletionRequestMessageContentPartText
impl Send for ChatCompletionRequestMessageContentPartText
impl Sync for ChatCompletionRequestMessageContentPartText
impl Unpin for ChatCompletionRequestMessageContentPartText
impl UnwindSafe for ChatCompletionRequestMessageContentPartText
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