Struct aws_sdk_opsworks::types::builders::InstanceBuilder
source · #[non_exhaustive]pub struct InstanceBuilder { /* private fields */ }
Expand description
A builder for Instance
.
Implementations§
source§impl InstanceBuilder
impl InstanceBuilder
sourcepub fn agent_version(self, input: impl Into<String>) -> Self
pub fn agent_version(self, input: impl Into<String>) -> Self
The agent version. This parameter is set to INHERIT
if the instance inherits the default stack setting or to a a version number for a fixed agent version.
sourcepub fn set_agent_version(self, input: Option<String>) -> Self
pub fn set_agent_version(self, input: Option<String>) -> Self
The agent version. This parameter is set to INHERIT
if the instance inherits the default stack setting or to a a version number for a fixed agent version.
sourcepub fn get_agent_version(&self) -> &Option<String>
pub fn get_agent_version(&self) -> &Option<String>
The agent version. This parameter is set to INHERIT
if the instance inherits the default stack setting or to a a version number for a fixed agent version.
sourcepub fn ami_id(self, input: impl Into<String>) -> Self
pub fn ami_id(self, input: impl Into<String>) -> Self
A custom AMI ID to be used to create the instance. For more information, see Instances
sourcepub fn set_ami_id(self, input: Option<String>) -> Self
pub fn set_ami_id(self, input: Option<String>) -> Self
A custom AMI ID to be used to create the instance. For more information, see Instances
sourcepub fn get_ami_id(&self) -> &Option<String>
pub fn get_ami_id(&self) -> &Option<String>
A custom AMI ID to be used to create the instance. For more information, see Instances
sourcepub fn architecture(self, input: Architecture) -> Self
pub fn architecture(self, input: Architecture) -> Self
The instance architecture: "i386" or "x86_64".
sourcepub fn set_architecture(self, input: Option<Architecture>) -> Self
pub fn set_architecture(self, input: Option<Architecture>) -> Self
The instance architecture: "i386" or "x86_64".
sourcepub fn get_architecture(&self) -> &Option<Architecture>
pub fn get_architecture(&self) -> &Option<Architecture>
The instance architecture: "i386" or "x86_64".
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The instance's Amazon Resource Number (ARN).
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The instance's Amazon Resource Number (ARN).
sourcepub fn auto_scaling_type(self, input: AutoScalingType) -> Self
pub fn auto_scaling_type(self, input: AutoScalingType) -> Self
For load-based or time-based instances, the type.
sourcepub fn set_auto_scaling_type(self, input: Option<AutoScalingType>) -> Self
pub fn set_auto_scaling_type(self, input: Option<AutoScalingType>) -> Self
For load-based or time-based instances, the type.
sourcepub fn get_auto_scaling_type(&self) -> &Option<AutoScalingType>
pub fn get_auto_scaling_type(&self) -> &Option<AutoScalingType>
For load-based or time-based instances, the type.
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The instance Availability Zone. For more information, see Regions and Endpoints.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The instance Availability Zone. For more information, see Regions and Endpoints.
sourcepub fn get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
The instance Availability Zone. For more information, see Regions and Endpoints.
sourcepub fn block_device_mappings(self, input: BlockDeviceMapping) -> Self
pub fn block_device_mappings(self, input: BlockDeviceMapping) -> Self
Appends an item to block_device_mappings
.
To override the contents of this collection use set_block_device_mappings
.
An array of BlockDeviceMapping
objects that specify the instance's block device mappings.
sourcepub fn set_block_device_mappings(
self,
input: Option<Vec<BlockDeviceMapping>>
) -> Self
pub fn set_block_device_mappings( self, input: Option<Vec<BlockDeviceMapping>> ) -> Self
An array of BlockDeviceMapping
objects that specify the instance's block device mappings.
sourcepub fn get_block_device_mappings(&self) -> &Option<Vec<BlockDeviceMapping>>
pub fn get_block_device_mappings(&self) -> &Option<Vec<BlockDeviceMapping>>
An array of BlockDeviceMapping
objects that specify the instance's block device mappings.
sourcepub fn created_at(self, input: impl Into<String>) -> Self
pub fn created_at(self, input: impl Into<String>) -> Self
The time that the instance was created.
sourcepub fn set_created_at(self, input: Option<String>) -> Self
pub fn set_created_at(self, input: Option<String>) -> Self
The time that the instance was created.
sourcepub fn get_created_at(&self) -> &Option<String>
pub fn get_created_at(&self) -> &Option<String>
The time that the instance was created.
sourcepub fn ebs_optimized(self, input: bool) -> Self
pub fn ebs_optimized(self, input: bool) -> Self
Whether this is an Amazon EBS-optimized instance.
sourcepub fn set_ebs_optimized(self, input: Option<bool>) -> Self
pub fn set_ebs_optimized(self, input: Option<bool>) -> Self
Whether this is an Amazon EBS-optimized instance.
sourcepub fn get_ebs_optimized(&self) -> &Option<bool>
pub fn get_ebs_optimized(&self) -> &Option<bool>
Whether this is an Amazon EBS-optimized instance.
sourcepub fn ec2_instance_id(self, input: impl Into<String>) -> Self
pub fn ec2_instance_id(self, input: impl Into<String>) -> Self
The ID of the associated Amazon EC2 instance.
sourcepub fn set_ec2_instance_id(self, input: Option<String>) -> Self
pub fn set_ec2_instance_id(self, input: Option<String>) -> Self
The ID of the associated Amazon EC2 instance.
sourcepub fn get_ec2_instance_id(&self) -> &Option<String>
pub fn get_ec2_instance_id(&self) -> &Option<String>
The ID of the associated Amazon EC2 instance.
sourcepub fn ecs_cluster_arn(self, input: impl Into<String>) -> Self
pub fn ecs_cluster_arn(self, input: impl Into<String>) -> Self
For container instances, the Amazon ECS cluster's ARN.
sourcepub fn set_ecs_cluster_arn(self, input: Option<String>) -> Self
pub fn set_ecs_cluster_arn(self, input: Option<String>) -> Self
For container instances, the Amazon ECS cluster's ARN.
sourcepub fn get_ecs_cluster_arn(&self) -> &Option<String>
pub fn get_ecs_cluster_arn(&self) -> &Option<String>
For container instances, the Amazon ECS cluster's ARN.
sourcepub fn ecs_container_instance_arn(self, input: impl Into<String>) -> Self
pub fn ecs_container_instance_arn(self, input: impl Into<String>) -> Self
For container instances, the instance's ARN.
sourcepub fn set_ecs_container_instance_arn(self, input: Option<String>) -> Self
pub fn set_ecs_container_instance_arn(self, input: Option<String>) -> Self
For container instances, the instance's ARN.
sourcepub fn get_ecs_container_instance_arn(&self) -> &Option<String>
pub fn get_ecs_container_instance_arn(&self) -> &Option<String>
For container instances, the instance's ARN.
sourcepub fn elastic_ip(self, input: impl Into<String>) -> Self
pub fn elastic_ip(self, input: impl Into<String>) -> Self
The instance Elastic IP address.
sourcepub fn set_elastic_ip(self, input: Option<String>) -> Self
pub fn set_elastic_ip(self, input: Option<String>) -> Self
The instance Elastic IP address.
sourcepub fn get_elastic_ip(&self) -> &Option<String>
pub fn get_elastic_ip(&self) -> &Option<String>
The instance Elastic IP address.
sourcepub fn hostname(self, input: impl Into<String>) -> Self
pub fn hostname(self, input: impl Into<String>) -> Self
The instance host name. The following are character limits for instance host names.
-
Linux-based instances: 63 characters
-
Windows-based instances: 15 characters
sourcepub fn set_hostname(self, input: Option<String>) -> Self
pub fn set_hostname(self, input: Option<String>) -> Self
The instance host name. The following are character limits for instance host names.
-
Linux-based instances: 63 characters
-
Windows-based instances: 15 characters
sourcepub fn get_hostname(&self) -> &Option<String>
pub fn get_hostname(&self) -> &Option<String>
The instance host name. The following are character limits for instance host names.
-
Linux-based instances: 63 characters
-
Windows-based instances: 15 characters
sourcepub fn infrastructure_class(self, input: impl Into<String>) -> Self
pub fn infrastructure_class(self, input: impl Into<String>) -> Self
For registered instances, the infrastructure class: ec2
or on-premises
.
sourcepub fn set_infrastructure_class(self, input: Option<String>) -> Self
pub fn set_infrastructure_class(self, input: Option<String>) -> Self
For registered instances, the infrastructure class: ec2
or on-premises
.
sourcepub fn get_infrastructure_class(&self) -> &Option<String>
pub fn get_infrastructure_class(&self) -> &Option<String>
For registered instances, the infrastructure class: ec2
or on-premises
.
sourcepub fn install_updates_on_boot(self, input: bool) -> Self
pub fn install_updates_on_boot(self, input: bool) -> Self
Whether to install operating system and package updates when the instance boots. The default value is true
. If this value is set to false
, you must update instances manually by using CreateDeployment
to run the update_dependencies
stack command or by manually running yum
(Amazon Linux) or apt-get
(Ubuntu) on the instances.
We strongly recommend using the default value of true
to ensure that your instances have the latest security updates.
sourcepub fn set_install_updates_on_boot(self, input: Option<bool>) -> Self
pub fn set_install_updates_on_boot(self, input: Option<bool>) -> Self
Whether to install operating system and package updates when the instance boots. The default value is true
. If this value is set to false
, you must update instances manually by using CreateDeployment
to run the update_dependencies
stack command or by manually running yum
(Amazon Linux) or apt-get
(Ubuntu) on the instances.
We strongly recommend using the default value of true
to ensure that your instances have the latest security updates.
sourcepub fn get_install_updates_on_boot(&self) -> &Option<bool>
pub fn get_install_updates_on_boot(&self) -> &Option<bool>
Whether to install operating system and package updates when the instance boots. The default value is true
. If this value is set to false
, you must update instances manually by using CreateDeployment
to run the update_dependencies
stack command or by manually running yum
(Amazon Linux) or apt-get
(Ubuntu) on the instances.
We strongly recommend using the default value of true
to ensure that your instances have the latest security updates.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The instance ID.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The instance ID.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The instance ID.
sourcepub fn instance_profile_arn(self, input: impl Into<String>) -> Self
pub fn instance_profile_arn(self, input: impl Into<String>) -> Self
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
sourcepub fn set_instance_profile_arn(self, input: Option<String>) -> Self
pub fn set_instance_profile_arn(self, input: Option<String>) -> Self
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
sourcepub fn get_instance_profile_arn(&self) -> &Option<String>
pub fn get_instance_profile_arn(&self) -> &Option<String>
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
sourcepub fn instance_type(self, input: impl Into<String>) -> Self
pub fn instance_type(self, input: impl Into<String>) -> Self
The instance type, such as t2.micro
.
sourcepub fn set_instance_type(self, input: Option<String>) -> Self
pub fn set_instance_type(self, input: Option<String>) -> Self
The instance type, such as t2.micro
.
sourcepub fn get_instance_type(&self) -> &Option<String>
pub fn get_instance_type(&self) -> &Option<String>
The instance type, such as t2.micro
.
sourcepub fn last_service_error_id(self, input: impl Into<String>) -> Self
pub fn last_service_error_id(self, input: impl Into<String>) -> Self
The ID of the last service error. For more information, call DescribeServiceErrors
.
sourcepub fn set_last_service_error_id(self, input: Option<String>) -> Self
pub fn set_last_service_error_id(self, input: Option<String>) -> Self
The ID of the last service error. For more information, call DescribeServiceErrors
.
sourcepub fn get_last_service_error_id(&self) -> &Option<String>
pub fn get_last_service_error_id(&self) -> &Option<String>
The ID of the last service error. For more information, call DescribeServiceErrors
.
sourcepub fn layer_ids(self, input: impl Into<String>) -> Self
pub fn layer_ids(self, input: impl Into<String>) -> Self
Appends an item to layer_ids
.
To override the contents of this collection use set_layer_ids
.
An array containing the instance layer IDs.
sourcepub fn set_layer_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_layer_ids(self, input: Option<Vec<String>>) -> Self
An array containing the instance layer IDs.
sourcepub fn get_layer_ids(&self) -> &Option<Vec<String>>
pub fn get_layer_ids(&self) -> &Option<Vec<String>>
An array containing the instance layer IDs.
sourcepub fn set_platform(self, input: Option<String>) -> Self
pub fn set_platform(self, input: Option<String>) -> Self
The instance's platform.
sourcepub fn get_platform(&self) -> &Option<String>
pub fn get_platform(&self) -> &Option<String>
The instance's platform.
sourcepub fn private_dns(self, input: impl Into<String>) -> Self
pub fn private_dns(self, input: impl Into<String>) -> Self
The instance's private DNS name.
sourcepub fn set_private_dns(self, input: Option<String>) -> Self
pub fn set_private_dns(self, input: Option<String>) -> Self
The instance's private DNS name.
sourcepub fn get_private_dns(&self) -> &Option<String>
pub fn get_private_dns(&self) -> &Option<String>
The instance's private DNS name.
sourcepub fn private_ip(self, input: impl Into<String>) -> Self
pub fn private_ip(self, input: impl Into<String>) -> Self
The instance's private IP address.
sourcepub fn set_private_ip(self, input: Option<String>) -> Self
pub fn set_private_ip(self, input: Option<String>) -> Self
The instance's private IP address.
sourcepub fn get_private_ip(&self) -> &Option<String>
pub fn get_private_ip(&self) -> &Option<String>
The instance's private IP address.
sourcepub fn public_dns(self, input: impl Into<String>) -> Self
pub fn public_dns(self, input: impl Into<String>) -> Self
The instance public DNS name.
sourcepub fn set_public_dns(self, input: Option<String>) -> Self
pub fn set_public_dns(self, input: Option<String>) -> Self
The instance public DNS name.
sourcepub fn get_public_dns(&self) -> &Option<String>
pub fn get_public_dns(&self) -> &Option<String>
The instance public DNS name.
sourcepub fn set_public_ip(self, input: Option<String>) -> Self
pub fn set_public_ip(self, input: Option<String>) -> Self
The instance public IP address.
sourcepub fn get_public_ip(&self) -> &Option<String>
pub fn get_public_ip(&self) -> &Option<String>
The instance public IP address.
sourcepub fn registered_by(self, input: impl Into<String>) -> Self
pub fn registered_by(self, input: impl Into<String>) -> Self
For registered instances, who performed the registration.
sourcepub fn set_registered_by(self, input: Option<String>) -> Self
pub fn set_registered_by(self, input: Option<String>) -> Self
For registered instances, who performed the registration.
sourcepub fn get_registered_by(&self) -> &Option<String>
pub fn get_registered_by(&self) -> &Option<String>
For registered instances, who performed the registration.
sourcepub fn reported_agent_version(self, input: impl Into<String>) -> Self
pub fn reported_agent_version(self, input: impl Into<String>) -> Self
The instance's reported OpsWorks Stacks agent version.
sourcepub fn set_reported_agent_version(self, input: Option<String>) -> Self
pub fn set_reported_agent_version(self, input: Option<String>) -> Self
The instance's reported OpsWorks Stacks agent version.
sourcepub fn get_reported_agent_version(&self) -> &Option<String>
pub fn get_reported_agent_version(&self) -> &Option<String>
The instance's reported OpsWorks Stacks agent version.
sourcepub fn reported_os(self, input: ReportedOs) -> Self
pub fn reported_os(self, input: ReportedOs) -> Self
For registered instances, the reported operating system.
sourcepub fn set_reported_os(self, input: Option<ReportedOs>) -> Self
pub fn set_reported_os(self, input: Option<ReportedOs>) -> Self
For registered instances, the reported operating system.
sourcepub fn get_reported_os(&self) -> &Option<ReportedOs>
pub fn get_reported_os(&self) -> &Option<ReportedOs>
For registered instances, the reported operating system.
sourcepub fn root_device_type(self, input: RootDeviceType) -> Self
pub fn root_device_type(self, input: RootDeviceType) -> Self
The instance's root device type. For more information, see Storage for the Root Device.
sourcepub fn set_root_device_type(self, input: Option<RootDeviceType>) -> Self
pub fn set_root_device_type(self, input: Option<RootDeviceType>) -> Self
The instance's root device type. For more information, see Storage for the Root Device.
sourcepub fn get_root_device_type(&self) -> &Option<RootDeviceType>
pub fn get_root_device_type(&self) -> &Option<RootDeviceType>
The instance's root device type. For more information, see Storage for the Root Device.
sourcepub fn root_device_volume_id(self, input: impl Into<String>) -> Self
pub fn root_device_volume_id(self, input: impl Into<String>) -> Self
The root device volume ID.
sourcepub fn set_root_device_volume_id(self, input: Option<String>) -> Self
pub fn set_root_device_volume_id(self, input: Option<String>) -> Self
The root device volume ID.
sourcepub fn get_root_device_volume_id(&self) -> &Option<String>
pub fn get_root_device_volume_id(&self) -> &Option<String>
The root device volume ID.
sourcepub fn security_group_ids(self, input: impl Into<String>) -> Self
pub fn security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to security_group_ids
.
To override the contents of this collection use set_security_group_ids
.
An array containing the instance security group IDs.
sourcepub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
An array containing the instance security group IDs.
sourcepub fn get_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_security_group_ids(&self) -> &Option<Vec<String>>
An array containing the instance security group IDs.
sourcepub fn ssh_host_dsa_key_fingerprint(self, input: impl Into<String>) -> Self
pub fn ssh_host_dsa_key_fingerprint(self, input: impl Into<String>) -> Self
The SSH key's Deep Security Agent (DSA) fingerprint.
sourcepub fn set_ssh_host_dsa_key_fingerprint(self, input: Option<String>) -> Self
pub fn set_ssh_host_dsa_key_fingerprint(self, input: Option<String>) -> Self
The SSH key's Deep Security Agent (DSA) fingerprint.
sourcepub fn get_ssh_host_dsa_key_fingerprint(&self) -> &Option<String>
pub fn get_ssh_host_dsa_key_fingerprint(&self) -> &Option<String>
The SSH key's Deep Security Agent (DSA) fingerprint.
sourcepub fn ssh_host_rsa_key_fingerprint(self, input: impl Into<String>) -> Self
pub fn ssh_host_rsa_key_fingerprint(self, input: impl Into<String>) -> Self
The SSH key's RSA fingerprint.
sourcepub fn set_ssh_host_rsa_key_fingerprint(self, input: Option<String>) -> Self
pub fn set_ssh_host_rsa_key_fingerprint(self, input: Option<String>) -> Self
The SSH key's RSA fingerprint.
sourcepub fn get_ssh_host_rsa_key_fingerprint(&self) -> &Option<String>
pub fn get_ssh_host_rsa_key_fingerprint(&self) -> &Option<String>
The SSH key's RSA fingerprint.
sourcepub fn ssh_key_name(self, input: impl Into<String>) -> Self
pub fn ssh_key_name(self, input: impl Into<String>) -> Self
The instance's Amazon EC2 key-pair name.
sourcepub fn set_ssh_key_name(self, input: Option<String>) -> Self
pub fn set_ssh_key_name(self, input: Option<String>) -> Self
The instance's Amazon EC2 key-pair name.
sourcepub fn get_ssh_key_name(&self) -> &Option<String>
pub fn get_ssh_key_name(&self) -> &Option<String>
The instance's Amazon EC2 key-pair name.
sourcepub fn set_stack_id(self, input: Option<String>) -> Self
pub fn set_stack_id(self, input: Option<String>) -> Self
The stack ID.
sourcepub fn get_stack_id(&self) -> &Option<String>
pub fn get_stack_id(&self) -> &Option<String>
The stack ID.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The instance status:
-
booting
-
connection_lost
-
online
-
pending
-
rebooting
-
requested
-
running_setup
-
setup_failed
-
shutting_down
-
start_failed
-
stop_failed
-
stopped
-
stopping
-
terminated
-
terminating
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The instance status:
-
booting
-
connection_lost
-
online
-
pending
-
rebooting
-
requested
-
running_setup
-
setup_failed
-
shutting_down
-
start_failed
-
stop_failed
-
stopped
-
stopping
-
terminated
-
terminating
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The instance status:
-
booting
-
connection_lost
-
online
-
pending
-
rebooting
-
requested
-
running_setup
-
setup_failed
-
shutting_down
-
start_failed
-
stop_failed
-
stopped
-
stopping
-
terminated
-
terminating
sourcepub fn subnet_id(self, input: impl Into<String>) -> Self
pub fn subnet_id(self, input: impl Into<String>) -> Self
The instance's subnet ID; applicable only if the stack is running in a VPC.
sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
The instance's subnet ID; applicable only if the stack is running in a VPC.
sourcepub fn get_subnet_id(&self) -> &Option<String>
pub fn get_subnet_id(&self) -> &Option<String>
The instance's subnet ID; applicable only if the stack is running in a VPC.
sourcepub fn tenancy(self, input: impl Into<String>) -> Self
pub fn tenancy(self, input: impl Into<String>) -> Self
The instance's tenancy option, such as dedicated
or host
.
sourcepub fn set_tenancy(self, input: Option<String>) -> Self
pub fn set_tenancy(self, input: Option<String>) -> Self
The instance's tenancy option, such as dedicated
or host
.
sourcepub fn get_tenancy(&self) -> &Option<String>
pub fn get_tenancy(&self) -> &Option<String>
The instance's tenancy option, such as dedicated
or host
.
sourcepub fn virtualization_type(self, input: VirtualizationType) -> Self
pub fn virtualization_type(self, input: VirtualizationType) -> Self
The instance's virtualization type: paravirtual
or hvm
.
sourcepub fn set_virtualization_type(self, input: Option<VirtualizationType>) -> Self
pub fn set_virtualization_type(self, input: Option<VirtualizationType>) -> Self
The instance's virtualization type: paravirtual
or hvm
.
sourcepub fn get_virtualization_type(&self) -> &Option<VirtualizationType>
pub fn get_virtualization_type(&self) -> &Option<VirtualizationType>
The instance's virtualization type: paravirtual
or hvm
.
Trait Implementations§
source§impl Clone for InstanceBuilder
impl Clone for InstanceBuilder
source§fn clone(&self) -> InstanceBuilder
fn clone(&self) -> InstanceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceBuilder
impl Debug for InstanceBuilder
source§impl Default for InstanceBuilder
impl Default for InstanceBuilder
source§fn default() -> InstanceBuilder
fn default() -> InstanceBuilder
source§impl PartialEq for InstanceBuilder
impl PartialEq for InstanceBuilder
source§fn eq(&self, other: &InstanceBuilder) -> bool
fn eq(&self, other: &InstanceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceBuilder
Auto Trait Implementations§
impl Freeze for InstanceBuilder
impl RefUnwindSafe for InstanceBuilder
impl Send for InstanceBuilder
impl Sync for InstanceBuilder
impl Unpin for InstanceBuilder
impl UnwindSafe for InstanceBuilder
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
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>
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>
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