#[non_exhaustive]pub struct ModelEndpointDataBlob {
pub byte_buffer: Option<Blob>,
pub content_type: Option<String>,
}
Expand description
A pre-formed Amazon SageMaker model input you can include if your detector version includes an imported Amazon SageMaker model endpoint with pass-through input configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.byte_buffer: Option<Blob>
The byte buffer of the Amazon SageMaker model endpoint input data blob.
content_type: Option<String>
The content type of the Amazon SageMaker model endpoint input data blob.
Implementations§
source§impl ModelEndpointDataBlob
impl ModelEndpointDataBlob
sourcepub fn byte_buffer(&self) -> Option<&Blob>
pub fn byte_buffer(&self) -> Option<&Blob>
The byte buffer of the Amazon SageMaker model endpoint input data blob.
sourcepub fn content_type(&self) -> Option<&str>
pub fn content_type(&self) -> Option<&str>
The content type of the Amazon SageMaker model endpoint input data blob.
source§impl ModelEndpointDataBlob
impl ModelEndpointDataBlob
sourcepub fn builder() -> ModelEndpointDataBlobBuilder
pub fn builder() -> ModelEndpointDataBlobBuilder
Creates a new builder-style object to manufacture ModelEndpointDataBlob
.
Trait Implementations§
source§impl Clone for ModelEndpointDataBlob
impl Clone for ModelEndpointDataBlob
source§fn clone(&self) -> ModelEndpointDataBlob
fn clone(&self) -> ModelEndpointDataBlob
Returns a copy 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 ModelEndpointDataBlob
impl Debug for ModelEndpointDataBlob
source§impl PartialEq for ModelEndpointDataBlob
impl PartialEq for ModelEndpointDataBlob
source§fn eq(&self, other: &ModelEndpointDataBlob) -> bool
fn eq(&self, other: &ModelEndpointDataBlob) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModelEndpointDataBlob
Auto Trait Implementations§
impl Freeze for ModelEndpointDataBlob
impl RefUnwindSafe for ModelEndpointDataBlob
impl Send for ModelEndpointDataBlob
impl Sync for ModelEndpointDataBlob
impl Unpin for ModelEndpointDataBlob
impl UnwindSafe for ModelEndpointDataBlob
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.