pub struct ChatCompletionRequestMessageContentPartImageImageUrl {
pub detail: Option<String>,
pub url: String,
}
Fields§
§detail: Option<String>
Specifies the detail level of the image. Learn more in the Vision guide.
url: String
Either a URL of the image or the base64 encoded image data.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatCompletionRequestMessageContentPartImageImageUrl
impl<'de> Deserialize<'de> for ChatCompletionRequestMessageContentPartImageImageUrl
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 ChatCompletionRequestMessageContentPartImageImageUrl
impl RefUnwindSafe for ChatCompletionRequestMessageContentPartImageImageUrl
impl Send for ChatCompletionRequestMessageContentPartImageImageUrl
impl Sync for ChatCompletionRequestMessageContentPartImageImageUrl
impl Unpin for ChatCompletionRequestMessageContentPartImageImageUrl
impl UnwindSafe for ChatCompletionRequestMessageContentPartImageImageUrl
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