pub struct ImageUrlBuilder { /* private fields */ }
Expand description
Builder for ImageUrl
.
Implementations§
Source§impl ImageUrlBuilder
impl ImageUrlBuilder
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 ImageUrlBuilder
impl Clone for ImageUrlBuilder
Source§fn clone(&self) -> ImageUrlBuilder
fn clone(&self) -> ImageUrlBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ImageUrlBuilder
impl Debug for ImageUrlBuilder
Auto Trait Implementations§
impl Freeze for ImageUrlBuilder
impl RefUnwindSafe for ImageUrlBuilder
impl Send for ImageUrlBuilder
impl Sync for ImageUrlBuilder
impl Unpin for ImageUrlBuilder
impl UnwindSafe for ImageUrlBuilder
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