pub struct ImageModel {
pub provider: String,
pub id: String,
pub accepts_images: bool,
pub resize: Option<ResizeLimits>,
}Expand description
The model a cell’s images go to.
Fields§
§provider: String§id: String§accepts_images: bool§resize: Option<ResizeLimits>Trait Implementations§
Source§impl Clone for ImageModel
impl Clone for ImageModel
Auto Trait Implementations§
impl Forget for ImageModel
impl Freeze for ImageModel
impl Move for ImageModel
impl RefUnwindSafe for ImageModel
impl Send for ImageModel
impl Sync for ImageModel
impl Unpin for ImageModel
impl UnsafeUnpin for ImageModel
impl UnwindSafe for ImageModel
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