pub struct ImageAnalyzerConfiguration { /* private fields */ }Implementations§
Source§impl ImageAnalyzerConfiguration
impl ImageAnalyzerConfiguration
pub fn new(analysis_types: ImageAnalysisTypes) -> Self
pub fn analysis_types(&self) -> ImageAnalysisTypes
pub fn locales(&self) -> &[String]
pub fn with_locales<I, S>(self, locales: I) -> Self
Trait Implementations§
Source§impl Clone for ImageAnalyzerConfiguration
impl Clone for ImageAnalyzerConfiguration
Source§fn clone(&self) -> ImageAnalyzerConfiguration
fn clone(&self) -> ImageAnalyzerConfiguration
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 ImageAnalyzerConfiguration
impl Debug for ImageAnalyzerConfiguration
Source§impl<'de> Deserialize<'de> for ImageAnalyzerConfiguration
impl<'de> Deserialize<'de> for ImageAnalyzerConfiguration
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
Source§impl PartialEq for ImageAnalyzerConfiguration
impl PartialEq for ImageAnalyzerConfiguration
Source§fn eq(&self, other: &ImageAnalyzerConfiguration) -> bool
fn eq(&self, other: &ImageAnalyzerConfiguration) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ImageAnalyzerConfiguration
impl StructuralPartialEq for ImageAnalyzerConfiguration
Auto Trait Implementations§
impl Freeze for ImageAnalyzerConfiguration
impl RefUnwindSafe for ImageAnalyzerConfiguration
impl Send for ImageAnalyzerConfiguration
impl Sync for ImageAnalyzerConfiguration
impl Unpin for ImageAnalyzerConfiguration
impl UnsafeUnpin for ImageAnalyzerConfiguration
impl UnwindSafe for ImageAnalyzerConfiguration
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