[][src]Struct rusoto_ec2::CpuOptionsRequest

pub struct CpuOptionsRequest {
    pub core_count: Option<i64>,
    pub threads_per_core: Option<i64>,
}

The CPU options for the instance. Both the core count and threads per core must be specified in the request.

Fields

core_count: Option<i64>

The number of CPU cores for the instance.

threads_per_core: Option<i64>

The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of 2.

Trait Implementations

impl Clone for CpuOptionsRequest[src]

impl Debug for CpuOptionsRequest[src]

impl Default for CpuOptionsRequest[src]

impl PartialEq<CpuOptionsRequest> for CpuOptionsRequest[src]

impl StructuralPartialEq for CpuOptionsRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.