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