pub struct EmbedImagesParams {
pub images: Vec<String>,
}Expand description
Parameters of EMBED_IMAGES.
Fields§
§images: Vec<String>The images, each a file’s bytes (PNG, JPEG, WebP or GIF) in standard base64.
Implementations§
Trait Implementations§
Source§impl Clone for EmbedImagesParams
impl Clone for EmbedImagesParams
Source§impl Debug for EmbedImagesParams
impl Debug for EmbedImagesParams
Source§impl<'de> Deserialize<'de> for EmbedImagesParams
impl<'de> Deserialize<'de> for EmbedImagesParams
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 EmbedImagesParams
impl RefUnwindSafe for EmbedImagesParams
impl Send for EmbedImagesParams
impl Sync for EmbedImagesParams
impl Unpin for EmbedImagesParams
impl UnsafeUnpin for EmbedImagesParams
impl UnwindSafe for EmbedImagesParams
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