pub struct DetectObjects { /* private fields */ }
Implementations§
Source§impl DetectObjects
impl DetectObjects
pub fn new( endpoint_url: EndpointUrl, subscription_key: impl AsRef<str>, image: ImageInput, model_version: impl Into<Option<ModelVersionInput>>, ) -> Self
Trait Implementations§
Source§impl Clone for DetectObjects
impl Clone for DetectObjects
Source§fn clone(&self) -> DetectObjects
fn clone(&self) -> DetectObjects
Returns a duplicate of the value. Read more
1.0.0 · 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 DetectObjects
impl Debug for DetectObjects
Source§impl Endpoint for DetectObjects
impl Endpoint for DetectObjects
type RenderRequestError = EndpointError
type ParseResponseOutput = EndpointRet<DetectObjectsResponseBodyOkJson>
type ParseResponseError = EndpointError
fn render_request(&self) -> Result<Request<Body>, Self::RenderRequestError>
fn parse_response( &self, response: Response<Body>, ) -> Result<Self::ParseResponseOutput, Self::ParseResponseError>
Auto Trait Implementations§
impl Freeze for DetectObjects
impl RefUnwindSafe for DetectObjects
impl Send for DetectObjects
impl Sync for DetectObjects
impl Unpin for DetectObjects
impl UnwindSafe for DetectObjects
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