Skip to main content

Ec2StateView

Struct Ec2StateView 

Source
pub struct Ec2StateView {
Show 164 fields pub vpcs: HashMap<String, VpcView>, pub subnets: HashMap<String, SubnetView>, pub igws: HashMap<String, InternetGatewayView>, pub security_groups: HashMap<String, SecurityGroupView>, pub route_tables: HashMap<String, RouteTableView>, pub key_pairs: HashMap<String, KeyPairView>, pub network_acls: HashMap<String, NetworkAclView>, pub elastic_ips: HashMap<String, ElasticIpView>, pub nat_gateways: HashMap<String, NatGatewayView>, pub dhcp_options: HashMap<String, DhcpOptionsView>, pub egress_only_igws: HashMap<String, EgressOnlyIgwView>, pub flow_logs: HashMap<String, FlowLogView>, pub vpc_peering_connections: HashMap<String, VpcPeeringConnectionView>, pub vpc_endpoints: HashMap<String, VpcEndpointView>, pub managed_prefix_lists: HashMap<String, ManagedPrefixListView>, pub customer_gateways: HashMap<String, CustomerGatewayView>, pub vpn_gateways: HashMap<String, VpnGatewayView>, pub vpn_connections: HashMap<String, VpnConnectionView>, pub carrier_gateways: HashMap<String, CarrierGatewayView>, pub network_interfaces: HashMap<String, NetworkInterfaceView>, pub vpc_cidr_associations: HashMap<String, String>, pub ebs_encryption_by_default: bool, pub transit_gateways: HashMap<String, TransitGatewayView>, pub tgw_vpc_attachments: HashMap<String, TgwVpcAttachmentView>, pub tgw_peering_attachments: HashMap<String, TgwPeeringAttachmentView>, pub tgw_route_tables: HashMap<String, TgwRouteTableView>, pub tgw_routes: HashMap<String, Vec<TgwRouteView>>, pub instances: HashMap<String, InstanceView>, pub volumes: HashMap<String, VolumeView>, pub snapshots: HashMap<String, SnapshotView>, pub images: HashMap<String, ImageView>, pub launch_templates: HashMap<String, LaunchTemplateView>, pub launch_template_versions: HashMap<String, Vec<LaunchTemplateVersionView>>, pub spot_requests: HashMap<String, SpotInstanceRequestView>, pub spot_datafeed_subscription: Option<SpotDatafeedSubscriptionView>, pub iam_instance_profile_associations: HashMap<String, IamInstanceProfileAssociationView>, pub dedicated_hosts: HashMap<String, DedicatedHostView>, pub ec2_fleets: HashMap<String, Ec2FleetView>, pub vpc_endpoint_service_configs: HashMap<String, VpcEndpointServiceConfigView>, pub spot_fleet_requests: HashMap<String, SpotFleetRequestView>, pub subnet_cidr_reservations: HashMap<String, SubnetCidrReservationView>, pub placement_groups: HashMap<String, PlacementGroupView>, pub network_interface_permissions: HashMap<String, NetworkInterfacePermissionView>, pub instance_connect_endpoints: HashMap<String, InstanceConnectEndpointView>, pub capacity_reservations: HashMap<String, CapacityReservationView>, pub capacity_reservation_fleets: HashMap<String, CapacityReservationFleetView>, pub coip_pools: HashMap<String, CoipPoolView>, pub byoip_cidrs: HashMap<String, ByoipCidrView>, pub public_ipv4_pools: HashMap<String, PublicIpv4PoolView>, pub coip_cidrs: Vec<CoipCidrView>, pub address_transfers: HashMap<String, AddressTransferView>, pub security_group_vpc_associations: Vec<SecurityGroupVpcAssociationView>, pub enclave_certificate_iam_role_associations: Vec<EnclaveCertificateIamRoleAssociationView>, pub mac_sip_modification_tasks: HashMap<String, MacSipModificationTaskView>, pub declarative_policies_reports: HashMap<String, DeclarativePoliciesReportView>, pub vpn_concentrators: HashMap<String, VpnConcentratorView>, pub vpc_endpoint_connections: Vec<VpcEndpointConnectionView>, pub vpc_endpoint_connection_notifications: HashMap<String, VpcEndpointConnectionNotificationView>, pub vpc_block_public_access_exclusions: HashMap<String, VpcBlockPublicAccessExclusionView>, pub vpc_block_public_access_options: Option<VpcBlockPublicAccessOptionsView>, pub vpc_encryption_controls: HashMap<String, VpcEncryptionControlView>, pub mac_volume_ownership_tasks: HashMap<String, MacVolumeOwnershipTaskView>, pub replace_root_volume_tasks: HashMap<String, ReplaceRootVolumeTaskView>, pub snapshot_import_tasks: HashMap<String, SnapshotImportTaskView>, pub conversion_tasks: HashMap<String, ConversionTaskView>, pub export_tasks: HashMap<String, ExportTaskView>, pub import_tasks: HashMap<String, (String, Option<String>)>, pub trunk_interface_associations: HashMap<String, TrunkInterfaceAssociationView>, pub secondary_networks: HashMap<String, SecondaryNetworkView>, pub secondary_subnets: HashMap<String, SecondarySubnetView>, pub deleted_volumes_recycle_bin: HashMap<String, VolumeView>, pub deleted_snapshots_recycle_bin: HashMap<String, SnapshotView>, pub reserved_instances_exchanges: HashMap<String, ReservedInstancesExchangeView>, pub reserved_instances_listings: HashMap<String, ReservedInstancesListingView>, pub queued_reserved_instances_purchases: HashMap<String, ReservedInstancesPurchaseView>, pub reserved_instances_modifications: HashMap<String, ReservedInstancesModificationView>, pub reserved_instances_purchases: HashMap<String, ReservedInstancesPurchaseView>, pub reserved_instances: HashMap<String, ReservedInstancesRecordView>, pub fpga_images: HashMap<String, FpgaImageView>, pub image_usage_reports: HashMap<String, ImageUsageReportView>, pub restore_image_tasks: HashMap<String, RestoreImageTaskView>, pub store_image_tasks: HashMap<String, StoreImageTaskView>, pub import_image_tasks: HashMap<String, ImportImageTaskView>, pub allowed_image_criteria: Vec<AllowedImageCriterionView>, pub default_credit_specifications: HashMap<String, String>, pub instance_metadata_defaults: Option<InstanceMetadataDefaultsView>, pub instance_event_windows: HashMap<String, InstanceEventWindowView>, pub instance_event_notification_attributes: Option<InstanceTagNotificationAttributesView>, pub instance_events: HashMap<String, InstanceEventView>, pub host_reservations: HashMap<String, HostReservationView>, pub scheduled_instances: HashMap<String, ScheduledInstanceView>, pub az_group_opt_in: HashMap<String, String>, pub instance_status_reports: Vec<InstanceStatusReportView>, pub network_insights_access_scopes: HashMap<String, NetworkInsightsAccessScopeView>, pub network_insights_access_scope_analyses: HashMap<String, NetworkInsightsAccessScopeAnalysisView>, pub network_insights_paths: HashMap<String, NetworkInsightsPathView>, pub network_insights_analyses: HashMap<String, NetworkInsightsAnalysisView>, pub traffic_mirror_filters: HashMap<String, TrafficMirrorFilterView>, pub traffic_mirror_sessions: HashMap<String, TrafficMirrorSessionView>, pub traffic_mirror_targets: HashMap<String, TrafficMirrorTargetView>, pub client_vpn_endpoints: HashMap<String, ClientVpnEndpointView>, pub client_vpn_target_network_associations: HashMap<String, ClientVpnTargetNetworkAssociationView>, pub client_vpn_authorization_rules: Vec<ClientVpnAuthorizationRuleView>, pub client_vpn_routes: Vec<ClientVpnRouteView>, pub client_vpn_connections: HashMap<String, ClientVpnConnectionView>, pub local_gateways: HashMap<String, LocalGatewayView>, pub local_gateway_route_tables: HashMap<String, LocalGatewayRouteTableView>, pub local_gateway_routes: Vec<LocalGatewayRouteView>, pub local_gateway_route_table_virtual_interface_group_associations: HashMap<String, LocalGatewayRouteTableVirtualInterfaceGroupAssociationView>, pub local_gateway_route_table_vpc_associations: HashMap<String, LocalGatewayRouteTableVpcAssociationView>, pub local_gateway_virtual_interfaces: HashMap<String, LocalGatewayVirtualInterfaceView>, pub local_gateway_virtual_interface_groups: HashMap<String, LocalGatewayVirtualInterfaceGroupView>, pub route_servers: HashMap<String, RouteServerView>, pub route_server_endpoints: HashMap<String, RouteServerEndpointView>, pub route_server_peers: HashMap<String, RouteServerPeerView>, pub route_server_associations: Vec<RouteServerAssociationView>, pub verified_access_instances: HashMap<String, VerifiedAccessInstanceView>, pub verified_access_trust_providers: HashMap<String, VerifiedAccessTrustProviderView>, pub verified_access_groups: HashMap<String, VerifiedAccessGroupView>, pub verified_access_endpoints: HashMap<String, VerifiedAccessEndpointView>, pub verified_access_trust_provider_attachments: Vec<VerifiedAccessTrustProviderAttachmentView>, pub verified_access_instance_logging_configurations: HashMap<String, VerifiedAccessLogsView>, pub billing_ownership_offers: Vec<BillingOwnershipOfferView>, pub capacity_manager_data_exports: HashMap<String, CapacityManagerDataExportView>, pub interruptible_capacity_reservation_allocations: HashMap<String, InterruptibleCapacityReservationAllocationView>, pub capacity_blocks: HashMap<String, CapacityBlockView>, pub capacity_block_extensions: HashMap<String, CapacityBlockExtensionView>, pub capacity_manager_organizations_access: Option<CapacityManagerOrganizationsAccessView>, pub tgw_multicast_domains: HashMap<String, TransitGatewayMulticastDomainView>, pub tgw_multicast_domain_associations: Vec<TransitGatewayMulticastDomainAssociationView>, pub tgw_multicast_group_members: Vec<TransitGatewayMulticastGroupMemberView>, pub tgw_multicast_group_sources: Vec<TransitGatewayMulticastGroupSourceView>, pub tgw_connects: HashMap<String, TransitGatewayConnectView>, pub tgw_connect_peers: HashMap<String, TransitGatewayConnectPeerView>, pub tgw_metering_policies: HashMap<String, TransitGatewayMeteringPolicyView>, pub tgw_metering_policy_entries: Vec<TransitGatewayMeteringPolicyEntryView>, pub tgw_policy_tables: HashMap<String, TransitGatewayPolicyTableView>, pub tgw_policy_table_associations: Vec<TransitGatewayPolicyTableAssociationView>, pub tgw_prefix_list_references: Vec<TransitGatewayPrefixListReferenceView>, pub tgw_route_table_announcements: HashMap<String, TransitGatewayRouteTableAnnouncementView>, pub ipams: HashMap<String, IpamView>, pub ipam_scopes: HashMap<String, IpamScopeView>, pub ipam_pools: HashMap<String, IpamPoolView>, pub ipam_pool_cidrs: Vec<IpamPoolCidrView>, pub ipam_pool_allocations: Vec<IpamPoolAllocationView>, pub ipam_resource_discoveries: HashMap<String, IpamResourceDiscoveryView>, pub ipam_resource_discovery_associations: HashMap<String, IpamResourceDiscoveryAssociationView>, pub ipam_byoasns: Vec<IpamByoasnView>, pub ipam_external_resource_verification_tokens: HashMap<String, IpamExternalResourceVerificationTokenView>, pub ipam_policies: HashMap<String, IpamPolicyView>, pub ipam_prefix_list_resolvers: HashMap<String, IpamPrefixListResolverView>, pub ipam_prefix_list_resolver_targets: Vec<IpamPrefixListResolverTargetView>, pub volume_modifications: HashMap<String, VolumeModificationView>, pub import_volume_tasks: HashMap<String, ImportVolumeTaskView>, pub bundle_tasks: HashMap<String, BundleTaskView>, pub id_format: HashMap<String, IdFormatEntryView>, pub outpost_lags: HashMap<String, OutpostLagView>, pub export_image_tasks: HashMap<String, ExportImageTaskView>, pub ebs_default_kms_key_id: Option<String>, pub serial_console_access_enabled: bool, pub allowed_images_settings_state: Option<String>, pub image_block_public_access_state: Option<String>, pub aws_network_performance_subscriptions: Vec<AwsNetworkPerformanceSubscriptionView>, pub counters: CountersView,
}
Expand description

Serializable view of the entire EC2 state for one account/region.

Fields§

§vpcs: HashMap<String, VpcView>§subnets: HashMap<String, SubnetView>§igws: HashMap<String, InternetGatewayView>§security_groups: HashMap<String, SecurityGroupView>§route_tables: HashMap<String, RouteTableView>§key_pairs: HashMap<String, KeyPairView>§network_acls: HashMap<String, NetworkAclView>§elastic_ips: HashMap<String, ElasticIpView>§nat_gateways: HashMap<String, NatGatewayView>§dhcp_options: HashMap<String, DhcpOptionsView>§egress_only_igws: HashMap<String, EgressOnlyIgwView>§flow_logs: HashMap<String, FlowLogView>§vpc_peering_connections: HashMap<String, VpcPeeringConnectionView>§vpc_endpoints: HashMap<String, VpcEndpointView>§managed_prefix_lists: HashMap<String, ManagedPrefixListView>§customer_gateways: HashMap<String, CustomerGatewayView>§vpn_gateways: HashMap<String, VpnGatewayView>§vpn_connections: HashMap<String, VpnConnectionView>§carrier_gateways: HashMap<String, CarrierGatewayView>§network_interfaces: HashMap<String, NetworkInterfaceView>§vpc_cidr_associations: HashMap<String, String>§ebs_encryption_by_default: bool§transit_gateways: HashMap<String, TransitGatewayView>§tgw_vpc_attachments: HashMap<String, TgwVpcAttachmentView>§tgw_peering_attachments: HashMap<String, TgwPeeringAttachmentView>§tgw_route_tables: HashMap<String, TgwRouteTableView>§tgw_routes: HashMap<String, Vec<TgwRouteView>>§instances: HashMap<String, InstanceView>§volumes: HashMap<String, VolumeView>§snapshots: HashMap<String, SnapshotView>§images: HashMap<String, ImageView>§launch_templates: HashMap<String, LaunchTemplateView>§launch_template_versions: HashMap<String, Vec<LaunchTemplateVersionView>>§spot_requests: HashMap<String, SpotInstanceRequestView>§spot_datafeed_subscription: Option<SpotDatafeedSubscriptionView>§iam_instance_profile_associations: HashMap<String, IamInstanceProfileAssociationView>§dedicated_hosts: HashMap<String, DedicatedHostView>§ec2_fleets: HashMap<String, Ec2FleetView>§vpc_endpoint_service_configs: HashMap<String, VpcEndpointServiceConfigView>§spot_fleet_requests: HashMap<String, SpotFleetRequestView>§subnet_cidr_reservations: HashMap<String, SubnetCidrReservationView>§placement_groups: HashMap<String, PlacementGroupView>§network_interface_permissions: HashMap<String, NetworkInterfacePermissionView>§instance_connect_endpoints: HashMap<String, InstanceConnectEndpointView>§capacity_reservations: HashMap<String, CapacityReservationView>§capacity_reservation_fleets: HashMap<String, CapacityReservationFleetView>§coip_pools: HashMap<String, CoipPoolView>§byoip_cidrs: HashMap<String, ByoipCidrView>§public_ipv4_pools: HashMap<String, PublicIpv4PoolView>§coip_cidrs: Vec<CoipCidrView>§address_transfers: HashMap<String, AddressTransferView>§security_group_vpc_associations: Vec<SecurityGroupVpcAssociationView>§enclave_certificate_iam_role_associations: Vec<EnclaveCertificateIamRoleAssociationView>§mac_sip_modification_tasks: HashMap<String, MacSipModificationTaskView>§declarative_policies_reports: HashMap<String, DeclarativePoliciesReportView>§vpn_concentrators: HashMap<String, VpnConcentratorView>§vpc_endpoint_connections: Vec<VpcEndpointConnectionView>§vpc_endpoint_connection_notifications: HashMap<String, VpcEndpointConnectionNotificationView>§vpc_block_public_access_exclusions: HashMap<String, VpcBlockPublicAccessExclusionView>§vpc_block_public_access_options: Option<VpcBlockPublicAccessOptionsView>§vpc_encryption_controls: HashMap<String, VpcEncryptionControlView>§mac_volume_ownership_tasks: HashMap<String, MacVolumeOwnershipTaskView>§replace_root_volume_tasks: HashMap<String, ReplaceRootVolumeTaskView>§snapshot_import_tasks: HashMap<String, SnapshotImportTaskView>§conversion_tasks: HashMap<String, ConversionTaskView>§export_tasks: HashMap<String, ExportTaskView>§import_tasks: HashMap<String, (String, Option<String>)>§trunk_interface_associations: HashMap<String, TrunkInterfaceAssociationView>§secondary_networks: HashMap<String, SecondaryNetworkView>§secondary_subnets: HashMap<String, SecondarySubnetView>§deleted_volumes_recycle_bin: HashMap<String, VolumeView>§deleted_snapshots_recycle_bin: HashMap<String, SnapshotView>§reserved_instances_exchanges: HashMap<String, ReservedInstancesExchangeView>§reserved_instances_listings: HashMap<String, ReservedInstancesListingView>§queued_reserved_instances_purchases: HashMap<String, ReservedInstancesPurchaseView>§reserved_instances_modifications: HashMap<String, ReservedInstancesModificationView>§reserved_instances_purchases: HashMap<String, ReservedInstancesPurchaseView>§reserved_instances: HashMap<String, ReservedInstancesRecordView>§fpga_images: HashMap<String, FpgaImageView>§image_usage_reports: HashMap<String, ImageUsageReportView>§restore_image_tasks: HashMap<String, RestoreImageTaskView>§store_image_tasks: HashMap<String, StoreImageTaskView>§import_image_tasks: HashMap<String, ImportImageTaskView>§allowed_image_criteria: Vec<AllowedImageCriterionView>§default_credit_specifications: HashMap<String, String>§instance_metadata_defaults: Option<InstanceMetadataDefaultsView>§instance_event_windows: HashMap<String, InstanceEventWindowView>§instance_event_notification_attributes: Option<InstanceTagNotificationAttributesView>§instance_events: HashMap<String, InstanceEventView>§host_reservations: HashMap<String, HostReservationView>§scheduled_instances: HashMap<String, ScheduledInstanceView>§az_group_opt_in: HashMap<String, String>§instance_status_reports: Vec<InstanceStatusReportView>§network_insights_access_scopes: HashMap<String, NetworkInsightsAccessScopeView>§network_insights_access_scope_analyses: HashMap<String, NetworkInsightsAccessScopeAnalysisView>§network_insights_paths: HashMap<String, NetworkInsightsPathView>§network_insights_analyses: HashMap<String, NetworkInsightsAnalysisView>§traffic_mirror_filters: HashMap<String, TrafficMirrorFilterView>§traffic_mirror_sessions: HashMap<String, TrafficMirrorSessionView>§traffic_mirror_targets: HashMap<String, TrafficMirrorTargetView>§client_vpn_endpoints: HashMap<String, ClientVpnEndpointView>§client_vpn_target_network_associations: HashMap<String, ClientVpnTargetNetworkAssociationView>§client_vpn_authorization_rules: Vec<ClientVpnAuthorizationRuleView>§client_vpn_routes: Vec<ClientVpnRouteView>§client_vpn_connections: HashMap<String, ClientVpnConnectionView>§local_gateways: HashMap<String, LocalGatewayView>§local_gateway_route_tables: HashMap<String, LocalGatewayRouteTableView>§local_gateway_routes: Vec<LocalGatewayRouteView>§local_gateway_route_table_virtual_interface_group_associations: HashMap<String, LocalGatewayRouteTableVirtualInterfaceGroupAssociationView>§local_gateway_route_table_vpc_associations: HashMap<String, LocalGatewayRouteTableVpcAssociationView>§local_gateway_virtual_interfaces: HashMap<String, LocalGatewayVirtualInterfaceView>§local_gateway_virtual_interface_groups: HashMap<String, LocalGatewayVirtualInterfaceGroupView>§route_servers: HashMap<String, RouteServerView>§route_server_endpoints: HashMap<String, RouteServerEndpointView>§route_server_peers: HashMap<String, RouteServerPeerView>§route_server_associations: Vec<RouteServerAssociationView>§verified_access_instances: HashMap<String, VerifiedAccessInstanceView>§verified_access_trust_providers: HashMap<String, VerifiedAccessTrustProviderView>§verified_access_groups: HashMap<String, VerifiedAccessGroupView>§verified_access_endpoints: HashMap<String, VerifiedAccessEndpointView>§verified_access_trust_provider_attachments: Vec<VerifiedAccessTrustProviderAttachmentView>§verified_access_instance_logging_configurations: HashMap<String, VerifiedAccessLogsView>§billing_ownership_offers: Vec<BillingOwnershipOfferView>§capacity_manager_data_exports: HashMap<String, CapacityManagerDataExportView>§interruptible_capacity_reservation_allocations: HashMap<String, InterruptibleCapacityReservationAllocationView>§capacity_blocks: HashMap<String, CapacityBlockView>§capacity_block_extensions: HashMap<String, CapacityBlockExtensionView>§capacity_manager_organizations_access: Option<CapacityManagerOrganizationsAccessView>§tgw_multicast_domains: HashMap<String, TransitGatewayMulticastDomainView>§tgw_multicast_domain_associations: Vec<TransitGatewayMulticastDomainAssociationView>§tgw_multicast_group_members: Vec<TransitGatewayMulticastGroupMemberView>§tgw_multicast_group_sources: Vec<TransitGatewayMulticastGroupSourceView>§tgw_connects: HashMap<String, TransitGatewayConnectView>§tgw_connect_peers: HashMap<String, TransitGatewayConnectPeerView>§tgw_metering_policies: HashMap<String, TransitGatewayMeteringPolicyView>§tgw_metering_policy_entries: Vec<TransitGatewayMeteringPolicyEntryView>§tgw_policy_tables: HashMap<String, TransitGatewayPolicyTableView>§tgw_policy_table_associations: Vec<TransitGatewayPolicyTableAssociationView>§tgw_prefix_list_references: Vec<TransitGatewayPrefixListReferenceView>§tgw_route_table_announcements: HashMap<String, TransitGatewayRouteTableAnnouncementView>§ipams: HashMap<String, IpamView>§ipam_scopes: HashMap<String, IpamScopeView>§ipam_pools: HashMap<String, IpamPoolView>§ipam_pool_cidrs: Vec<IpamPoolCidrView>§ipam_pool_allocations: Vec<IpamPoolAllocationView>§ipam_resource_discoveries: HashMap<String, IpamResourceDiscoveryView>§ipam_resource_discovery_associations: HashMap<String, IpamResourceDiscoveryAssociationView>§ipam_byoasns: Vec<IpamByoasnView>§ipam_external_resource_verification_tokens: HashMap<String, IpamExternalResourceVerificationTokenView>§ipam_policies: HashMap<String, IpamPolicyView>§ipam_prefix_list_resolvers: HashMap<String, IpamPrefixListResolverView>§ipam_prefix_list_resolver_targets: Vec<IpamPrefixListResolverTargetView>§volume_modifications: HashMap<String, VolumeModificationView>§import_volume_tasks: HashMap<String, ImportVolumeTaskView>§bundle_tasks: HashMap<String, BundleTaskView>§id_format: HashMap<String, IdFormatEntryView>§outpost_lags: HashMap<String, OutpostLagView>§export_image_tasks: HashMap<String, ExportImageTaskView>§ebs_default_kms_key_id: Option<String>§serial_console_access_enabled: bool§allowed_images_settings_state: Option<String>§image_block_public_access_state: Option<String>§aws_network_performance_subscriptions: Vec<AwsNetworkPerformanceSubscriptionView>§counters: CountersView

Trait Implementations§

Source§

impl Clone for Ec2StateView

Source§

fn clone(&self) -> Ec2StateView

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Ec2StateView

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Ec2StateView

Source§

fn default() -> Ec2StateView

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Ec2StateView

Source§

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<&Ec2State> for Ec2StateView

Source§

fn from(state: &Ec2State) -> Self

Converts to this type from the input type.
Source§

impl From<Ec2StateView> for Ec2State

Source§

fn from(view: Ec2StateView) -> Self

Converts to this type from the input type.
Source§

impl Serialize for Ec2StateView

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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 more
Source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

Source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,