pub struct MessageDeltaContentImageUrlObjectImageUrl {
pub detail: Option<String>,
pub url: Option<String>,
}
Fields§
§detail: Option<String>
Specifies the detail level of the image. low
uses fewer tokens, you can opt in to high resolution using high
.
url: Option<String>
The URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MessageDeltaContentImageUrlObjectImageUrl
impl<'de> Deserialize<'de> for MessageDeltaContentImageUrlObjectImageUrl
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 MessageDeltaContentImageUrlObjectImageUrl
impl RefUnwindSafe for MessageDeltaContentImageUrlObjectImageUrl
impl Send for MessageDeltaContentImageUrlObjectImageUrl
impl Sync for MessageDeltaContentImageUrlObjectImageUrl
impl Unpin for MessageDeltaContentImageUrlObjectImageUrl
impl UnwindSafe for MessageDeltaContentImageUrlObjectImageUrl
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