pub struct InstanceView {Show 32 fields
pub instance_id: String,
pub image_id: String,
pub instance_type: String,
pub state: InstanceStateView,
pub private_ip_address: Option<String>,
pub public_ip_address: Option<String>,
pub subnet_id: Option<String>,
pub vpc_id: Option<String>,
pub key_name: Option<String>,
pub security_groups: Vec<String>,
pub launch_time: String,
pub tags: HashMap<String, String>,
pub iam_instance_profile_arn: Option<String>,
pub monitoring_state: String,
pub placement_az: String,
pub placement_group_name: Option<String>,
pub placement_tenancy: Option<String>,
pub placement_host_id: Option<String>,
pub placement_affinity: Option<String>,
pub placement_partition_number: Option<i32>,
pub owner_id: String,
pub classic_link_vpc: Option<(String, Vec<String>)>,
pub private_dns_hostname_type: Option<String>,
pub enable_resource_name_dns_a_record: Option<bool>,
pub enable_resource_name_dns_aaaa_record: Option<bool>,
pub credit_specification: Option<String>,
pub cpu_options: Option<InstanceCpuOptionsView>,
pub maintenance_options: Option<InstanceMaintenanceOptionsView>,
pub network_bandwidth_weighting: Option<String>,
pub lifecycle: Option<String>,
pub product_codes: Vec<(String, String)>,
pub capacity_reservation_specification: Option<CapacityReservationSpecificationResponseView>,
}Fields§
§instance_id: String§image_id: String§instance_type: String§state: InstanceStateView§private_ip_address: Option<String>§public_ip_address: Option<String>§subnet_id: Option<String>§vpc_id: Option<String>§key_name: Option<String>§security_groups: Vec<String>§launch_time: String§iam_instance_profile_arn: Option<String>§monitoring_state: String§placement_az: String§placement_group_name: Option<String>§placement_tenancy: Option<String>§placement_host_id: Option<String>§placement_affinity: Option<String>§placement_partition_number: Option<i32>§owner_id: String§classic_link_vpc: Option<(String, Vec<String>)>§private_dns_hostname_type: Option<String>§enable_resource_name_dns_a_record: Option<bool>§enable_resource_name_dns_aaaa_record: Option<bool>§credit_specification: Option<String>§cpu_options: Option<InstanceCpuOptionsView>§maintenance_options: Option<InstanceMaintenanceOptionsView>§network_bandwidth_weighting: Option<String>§lifecycle: Option<String>§product_codes: Vec<(String, String)>§capacity_reservation_specification: Option<CapacityReservationSpecificationResponseView>Trait Implementations§
Source§impl Clone for InstanceView
impl Clone for InstanceView
Source§fn clone(&self) -> InstanceView
fn clone(&self) -> InstanceView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InstanceView
impl Debug for InstanceView
Source§impl<'de> Deserialize<'de> for InstanceView
impl<'de> Deserialize<'de> for InstanceView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&Instance> for InstanceView
impl From<&Instance> for InstanceView
Source§impl From<InstanceView> for Instance
impl From<InstanceView> for Instance
Source§fn from(i: InstanceView) -> Self
fn from(i: InstanceView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InstanceView
impl RefUnwindSafe for InstanceView
impl Send for InstanceView
impl Sync for InstanceView
impl Unpin for InstanceView
impl UnsafeUnpin for InstanceView
impl UnwindSafe for InstanceView
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.