Struct aws_sdk_ec2::types::InferenceDeviceMemoryInfo  
source · #[non_exhaustive]pub struct InferenceDeviceMemoryInfo {
    pub size_in_mib: Option<i32>,
}Expand description
Describes the memory available to the inference accelerator.
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.size_in_mib: Option<i32>The size of the memory available to the inference accelerator, in MiB.
Implementations§
source§impl InferenceDeviceMemoryInfo
 
impl InferenceDeviceMemoryInfo
sourcepub fn size_in_mib(&self) -> Option<i32>
 
pub fn size_in_mib(&self) -> Option<i32>
The size of the memory available to the inference accelerator, in MiB.
source§impl InferenceDeviceMemoryInfo
 
impl InferenceDeviceMemoryInfo
sourcepub fn builder() -> InferenceDeviceMemoryInfoBuilder
 
pub fn builder() -> InferenceDeviceMemoryInfoBuilder
Creates a new builder-style object to manufacture InferenceDeviceMemoryInfo.
Trait Implementations§
source§impl Clone for InferenceDeviceMemoryInfo
 
impl Clone for InferenceDeviceMemoryInfo
source§fn clone(&self) -> InferenceDeviceMemoryInfo
 
fn clone(&self) -> InferenceDeviceMemoryInfo
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 InferenceDeviceMemoryInfo
 
impl Debug for InferenceDeviceMemoryInfo
source§impl PartialEq for InferenceDeviceMemoryInfo
 
impl PartialEq for InferenceDeviceMemoryInfo
source§fn eq(&self, other: &InferenceDeviceMemoryInfo) -> bool
 
fn eq(&self, other: &InferenceDeviceMemoryInfo) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InferenceDeviceMemoryInfo
Auto Trait Implementations§
impl Freeze for InferenceDeviceMemoryInfo
impl RefUnwindSafe for InferenceDeviceMemoryInfo
impl Send for InferenceDeviceMemoryInfo
impl Sync for InferenceDeviceMemoryInfo
impl Unpin for InferenceDeviceMemoryInfo
impl UnwindSafe for InferenceDeviceMemoryInfo
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.