pub struct ChatCompletionResponseContentPartText {
pub text: String,
}Expand description
Response content part for text in assistant messages
Fields§
§text: StringTrait Implementations§
Source§impl ComposeSchema for ChatCompletionResponseContentPartText
Available on crate feature protocol-schema only.
impl ComposeSchema for ChatCompletionResponseContentPartText
Available on crate feature
protocol-schema only.Source§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
impl StructuralPartialEq for ChatCompletionResponseContentPartText
Source§impl ToSchema for ChatCompletionResponseContentPartText
Available on crate feature protocol-schema only.
impl ToSchema for ChatCompletionResponseContentPartText
Available on crate feature
protocol-schema only.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