pub struct PhotosService<'a> { /* private fields */ }Expand description
The API’s photos: client.photos().
api_key sets the key of the call made through it.
Implementations§
Source§impl<'a> PhotosService<'a>
impl<'a> PhotosService<'a>
Sourcepub fn options(self, options: RequestOptions) -> Self
pub fn options(self, options: RequestOptions) -> Self
Calls with these options.
Sourcepub fn detect(
&self,
params: &PhotosDetectParams,
) -> Result<PhotoDetection, Error>
pub fn detect( &self, params: &PhotosDetectParams, ) -> Result<PhotoDetection, Error>
Localizar as placas de uma foto.
Sourcepub fn ocr(&self, params: &PhotosOCRParams) -> Result<PlateReading, Error>
pub fn ocr(&self, params: &PhotosOCRParams) -> Result<PlateReading, Error>
Ler uma placa já recortada.
Sourcepub fn recognize(
&self,
params: &PhotosRecognizeParams,
) -> Result<PhotoRecognition, Error>
pub fn recognize( &self, params: &PhotosRecognizeParams, ) -> Result<PhotoRecognition, Error>
Ler as placas de uma foto.
Trait Implementations§
Source§impl<'a> Clone for PhotosService<'a>
impl<'a> Clone for PhotosService<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PhotosService<'a>
impl<'a> !UnwindSafe for PhotosService<'a>
impl<'a> Freeze for PhotosService<'a>
impl<'a> Send for PhotosService<'a>
impl<'a> Sync for PhotosService<'a>
impl<'a> Unpin for PhotosService<'a>
impl<'a> UnsafeUnpin for PhotosService<'a>
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