Struct aws_sdk_lookoutvision::input::DetectAnomaliesInput
source · [−]#[non_exhaustive]pub struct DetectAnomaliesInput {
pub project_name: Option<String>,
pub model_version: Option<String>,
pub body: ByteStream,
pub content_type: Option<String>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.project_name: Option<String>The name of the project that contains the model version that you want to use.
model_version: Option<String>The version of the model that you want to use.
body: ByteStreamThe unencrypted image bytes that you want to analyze.
content_type: Option<String>The type of the image passed in Body. Valid values are image/png (PNG format images) and image/jpeg (JPG format images).
Implementations
sourceimpl DetectAnomaliesInput
impl DetectAnomaliesInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<DetectAnomalies, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<DetectAnomalies, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DetectAnomalies>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DetectAnomaliesInput
sourceimpl DetectAnomaliesInput
impl DetectAnomaliesInput
sourcepub fn project_name(&self) -> Option<&str>
pub fn project_name(&self) -> Option<&str>
The name of the project that contains the model version that you want to use.
sourcepub fn model_version(&self) -> Option<&str>
pub fn model_version(&self) -> Option<&str>
The version of the model that you want to use.
sourcepub fn body(&self) -> &ByteStream
pub fn body(&self) -> &ByteStream
The unencrypted image bytes that you want to analyze.
sourcepub fn content_type(&self) -> Option<&str>
pub fn content_type(&self) -> Option<&str>
The type of the image passed in Body. Valid values are image/png (PNG format images) and image/jpeg (JPG format images).
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DetectAnomaliesInput
impl Send for DetectAnomaliesInput
impl Sync for DetectAnomaliesInput
impl Unpin for DetectAnomaliesInput
impl !UnwindSafe for DetectAnomaliesInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more