pub struct ChatCompletionRequestMessageContentPartImage {
pub image_url: ImageUrl,
}Fields§
§image_url: ImageUrlTrait Implementations§
Source§impl Clone for ChatCompletionRequestMessageContentPartImage
impl Clone for ChatCompletionRequestMessageContentPartImage
Source§fn clone(&self) -> ChatCompletionRequestMessageContentPartImage
fn clone(&self) -> ChatCompletionRequestMessageContentPartImage
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 Default for ChatCompletionRequestMessageContentPartImage
impl Default for ChatCompletionRequestMessageContentPartImage
Source§fn default() -> ChatCompletionRequestMessageContentPartImage
fn default() -> ChatCompletionRequestMessageContentPartImage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatCompletionRequestMessageContentPartImage
impl<'de> Deserialize<'de> for ChatCompletionRequestMessageContentPartImage
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChatCompletionRequestMessageContentPartImage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChatCompletionRequestMessageContentPartImage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ChatCompletionRequestMessageContentPartImage> for ChatCompletionRequestUserMessageContentPart
impl From<ChatCompletionRequestMessageContentPartImage> for ChatCompletionRequestUserMessageContentPart
Source§fn from(
value: ChatCompletionRequestMessageContentPartImage,
) -> ChatCompletionRequestUserMessageContentPart
fn from( value: ChatCompletionRequestMessageContentPartImage, ) -> ChatCompletionRequestUserMessageContentPart
Converts to this type from the input type.
Source§impl From<ImageUrl> for ChatCompletionRequestMessageContentPartImage
impl From<ImageUrl> for ChatCompletionRequestMessageContentPartImage
Source§fn from(value: ImageUrl) -> ChatCompletionRequestMessageContentPartImage
fn from(value: ImageUrl) -> ChatCompletionRequestMessageContentPartImage
Converts to this type from the input type.
Source§impl PartialEq for ChatCompletionRequestMessageContentPartImage
impl PartialEq for ChatCompletionRequestMessageContentPartImage
Source§fn eq(&self, other: &ChatCompletionRequestMessageContentPartImage) -> bool
fn eq(&self, other: &ChatCompletionRequestMessageContentPartImage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChatCompletionRequestMessageContentPartImage
impl Serialize for ChatCompletionRequestMessageContentPartImage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ChatCompletionRequestMessageContentPartImage
Auto Trait Implementations§
impl Freeze for ChatCompletionRequestMessageContentPartImage
impl RefUnwindSafe for ChatCompletionRequestMessageContentPartImage
impl Send for ChatCompletionRequestMessageContentPartImage
impl Sync for ChatCompletionRequestMessageContentPartImage
impl Unpin for ChatCompletionRequestMessageContentPartImage
impl UnsafeUnpin for ChatCompletionRequestMessageContentPartImage
impl UnwindSafe for ChatCompletionRequestMessageContentPartImage
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