pub struct ImageUrlType {
pub url: String,
pub detail: Option<ImageUrlDetail>,
}Fields§
§url: StringEither a URL of the image or the base64 encoded image data.
detail: Option<ImageUrlDetail>Specifies the detail level of the image.
Trait Implementations§
Source§impl Clone for ImageUrlType
impl Clone for ImageUrlType
Source§fn clone(&self) -> ImageUrlType
fn clone(&self) -> ImageUrlType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageUrlType
impl Debug for ImageUrlType
Source§impl<'de> Deserialize<'de> for ImageUrlType
impl<'de> Deserialize<'de> for ImageUrlType
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
Source§impl PartialEq for ImageUrlType
impl PartialEq for ImageUrlType
Source§impl Serialize for ImageUrlType
impl Serialize for ImageUrlType
impl StructuralPartialEq for ImageUrlType
Auto Trait Implementations§
impl Freeze for ImageUrlType
impl RefUnwindSafe for ImageUrlType
impl Send for ImageUrlType
impl Sync for ImageUrlType
impl Unpin for ImageUrlType
impl UnwindSafe for ImageUrlType
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