Struct crag::soap::EngineOptions
source · pub struct EngineOptions {
pub keep_ads: bool,
pub keep_videos: bool,
pub keep_images: bool,
}
Expand description
Provides engine customization options
Fields§
§keep_ads: bool
Do not attempt to filter ads from returned responses
Note that filtering ads may impact the number of results returned
keep_videos: bool
Do not attempt to filter video results from returned responses
Note that keeping videos may result in additional results returned
keep_images: bool
Do not attempt to filter image results from returned responses
Note filtering images may impact the number of results returned
Trait Implementations§
source§impl Debug for EngineOptions
impl Debug for EngineOptions
source§impl Default for EngineOptions
impl Default for EngineOptions
source§fn default() -> EngineOptions
fn default() -> EngineOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for EngineOptions
impl Send for EngineOptions
impl Sync for EngineOptions
impl Unpin for EngineOptions
impl UnwindSafe for EngineOptions
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