pub struct ChatCompletionResponseContentPartImageUrl {
pub image_url: ImageUrlResponse,
}Expand description
Response content part for image URLs in assistant messages
Fields§
§image_url: ImageUrlResponseTrait Implementations§
Source§impl Clone for ChatCompletionResponseContentPartImageUrl
impl Clone for ChatCompletionResponseContentPartImageUrl
Source§fn clone(&self) -> ChatCompletionResponseContentPartImageUrl
fn clone(&self) -> ChatCompletionResponseContentPartImageUrl
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 ChatCompletionResponseContentPartImageUrl
impl<'de> Deserialize<'de> for ChatCompletionResponseContentPartImageUrl
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 ChatCompletionResponseContentPartImageUrl
Auto Trait Implementations§
impl Freeze for ChatCompletionResponseContentPartImageUrl
impl RefUnwindSafe for ChatCompletionResponseContentPartImageUrl
impl Send for ChatCompletionResponseContentPartImageUrl
impl Sync for ChatCompletionResponseContentPartImageUrl
impl Unpin for ChatCompletionResponseContentPartImageUrl
impl UnsafeUnpin for ChatCompletionResponseContentPartImageUrl
impl UnwindSafe for ChatCompletionResponseContentPartImageUrl
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