Struct rusoto_ecs::Resource
[−]
[src]
pub struct Resource { pub double_value: Option<f64>, pub integer_value: Option<i64>, pub long_value: Option<i64>, pub name: Option<String>, pub string_set_value: Option<Vec<String>>, pub type_: Option<String>, }
Describes the resources available for a container instance.
Fields
double_value: Option<f64>
When the doubleValue
type is set, the value of the resource must be a double precision floating-point type.
integer_value: Option<i64>
When the integerValue
type is set, the value of the resource must be an integer.
long_value: Option<i64>
When the longValue
type is set, the value of the resource must be an extended precision floating-point type.
name: Option<String>
The name of the resource, such as cpu
, memory
, ports
, or a user-defined resource.
string_set_value: Option<Vec<String>>
When the stringSetValue
type is set, the value of the resource must be a string type.
type_: Option<String>
The type of the resource, such as INTEGER
, DOUBLE
, LONG
, or STRINGSET
.
Trait Implementations
impl Default for Resource
[src]
impl Debug for Resource
[src]
impl Clone for Resource
[src]
fn clone(&self) -> Resource
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more