pub struct ImageUrlArgs { /* private fields */ }
Expand description
Builder for ImageUrl
.
Implementations§
Source§impl ImageUrlArgs
impl ImageUrlArgs
Sourcepub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Either a URL of the image or the base64 encoded image data.
Sourcepub fn detail<VALUE: Into<ImageDetail>>(&mut self, value: VALUE) -> &mut Self
pub fn detail<VALUE: Into<ImageDetail>>(&mut self, value: VALUE) -> &mut Self
Specifies the detail level of the image. Learn more in the Vision guide.
Trait Implementations§
Source§impl Clone for ImageUrlArgs
impl Clone for ImageUrlArgs
Source§fn clone(&self) -> ImageUrlArgs
fn clone(&self) -> ImageUrlArgs
Returns a copy 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 ImageUrlArgs
impl Debug for ImageUrlArgs
Auto Trait Implementations§
impl Freeze for ImageUrlArgs
impl RefUnwindSafe for ImageUrlArgs
impl Send for ImageUrlArgs
impl Sync for ImageUrlArgs
impl Unpin for ImageUrlArgs
impl UnwindSafe for ImageUrlArgs
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