pub struct ReadToolOptions {
pub auto_resize_images: bool,
}Expand description
Options for create_read_tool. Mirrors TS ReadToolOptions. The Rust port
keeps the auto_resize_images flag for forward-compat but has no processor.
Fields§
§auto_resize_images: boolWhether an injected image processor should resize images. Default true.
Trait Implementations§
Source§impl Clone for ReadToolOptions
impl Clone for ReadToolOptions
Source§fn clone(&self) -> ReadToolOptions
fn clone(&self) -> ReadToolOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReadToolOptions
impl Debug for ReadToolOptions
Source§impl Default for ReadToolOptions
impl Default for ReadToolOptions
Source§fn default() -> ReadToolOptions
fn default() -> ReadToolOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReadToolOptions
impl RefUnwindSafe for ReadToolOptions
impl Send for ReadToolOptions
impl Sync for ReadToolOptions
impl Unpin for ReadToolOptions
impl UnsafeUnpin for ReadToolOptions
impl UnwindSafe for ReadToolOptions
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