ClusterUpdate

Struct ClusterUpdate 

Source
#[non_exhaustive]
pub struct ClusterUpdate {
Show 72 fields pub desired_node_version: String, pub desired_monitoring_service: String, pub desired_addons_config: Option<AddonsConfig>, pub desired_node_pool_id: String, pub desired_image_type: String, pub desired_database_encryption: Option<DatabaseEncryption>, pub desired_workload_identity_config: Option<WorkloadIdentityConfig>, pub desired_mesh_certificates: Option<MeshCertificates>, pub desired_shielded_nodes: Option<ShieldedNodes>, pub desired_cost_management_config: Option<CostManagementConfig>, pub desired_dns_config: Option<DNSConfig>, pub desired_node_pool_autoscaling: Option<NodePoolAutoscaling>, pub desired_locations: Vec<String>, pub desired_master_authorized_networks_config: Option<MasterAuthorizedNetworksConfig>, pub desired_cluster_autoscaling: Option<ClusterAutoscaling>, pub desired_binary_authorization: Option<BinaryAuthorization>, pub desired_logging_service: String, pub desired_resource_usage_export_config: Option<ResourceUsageExportConfig>, pub desired_vertical_pod_autoscaling: Option<VerticalPodAutoscaling>, pub desired_private_cluster_config: Option<PrivateClusterConfig>, pub desired_intra_node_visibility_config: Option<IntraNodeVisibilityConfig>, pub desired_default_snat_status: Option<DefaultSnatStatus>, pub desired_release_channel: Option<ReleaseChannel>, pub desired_l4ilb_subsetting_config: Option<ILBSubsettingConfig>, pub desired_datapath_provider: DatapathProvider, pub desired_private_ipv6_google_access: PrivateIPv6GoogleAccess, pub desired_notification_config: Option<NotificationConfig>, pub desired_authenticator_groups_config: Option<AuthenticatorGroupsConfig>, pub desired_logging_config: Option<LoggingConfig>, pub desired_monitoring_config: Option<MonitoringConfig>, pub desired_identity_service_config: Option<IdentityServiceConfig>, pub desired_service_external_ips_config: Option<ServiceExternalIPsConfig>, pub desired_enable_private_endpoint: Option<bool>, pub desired_default_enable_private_nodes: Option<bool>, pub desired_control_plane_endpoints_config: Option<ControlPlaneEndpointsConfig>, pub desired_master_version: String, pub desired_gcfs_config: Option<GcfsConfig>, pub desired_node_pool_auto_config_network_tags: Option<NetworkTags>, pub desired_pod_autoscaling: Option<PodAutoscaling>, pub desired_gateway_api_config: Option<GatewayAPIConfig>, pub etag: String, pub desired_node_pool_logging_config: Option<NodePoolLoggingConfig>, pub desired_fleet: Option<Fleet>, pub desired_stack_type: StackType, pub additional_pod_ranges_config: Option<AdditionalPodRangesConfig>, pub removed_additional_pod_ranges_config: Option<AdditionalPodRangesConfig>, pub enable_k8s_beta_apis: Option<K8sBetaAPIConfig>, pub desired_security_posture_config: Option<SecurityPostureConfig>, pub desired_network_performance_config: Option<ClusterNetworkPerformanceConfig>, pub desired_enable_fqdn_network_policy: Option<bool>, pub desired_autopilot_workload_policy_config: Option<WorkloadPolicyConfig>, pub desired_k8s_beta_apis: Option<K8sBetaAPIConfig>, pub desired_containerd_config: Option<ContainerdConfig>, pub desired_enable_multi_networking: Option<bool>, pub desired_node_pool_auto_config_resource_manager_tags: Option<ResourceManagerTags>, pub desired_in_transit_encryption_config: Option<InTransitEncryptionConfig>, pub desired_enable_cilium_clusterwide_network_policy: Option<bool>, pub desired_secret_manager_config: Option<SecretManagerConfig>, pub desired_compliance_posture_config: Option<CompliancePostureConfig>, pub desired_node_kubelet_config: Option<NodeKubeletConfig>, pub desired_node_pool_auto_config_kubelet_config: Option<NodeKubeletConfig>, pub user_managed_keys_config: Option<UserManagedKeysConfig>, pub desired_rbac_binding_config: Option<RBACBindingConfig>, pub desired_additional_ip_ranges_config: Option<DesiredAdditionalIPRangesConfig>, pub desired_enterprise_config: Option<DesiredEnterpriseConfig>, pub desired_auto_ipam_config: Option<AutoIpamConfig>, pub desired_disable_l4_lb_firewall_reconciliation: Option<bool>, pub desired_node_pool_auto_config_linux_node_config: Option<LinuxNodeConfig>, pub desired_user_managed_keys_config: Option<UserManagedKeysConfig>, pub desired_anonymous_authentication_config: Option<AnonymousAuthenticationConfig>, pub gke_auto_upgrade_config: Option<GkeAutoUpgradeConfig>, pub desired_network_tier_config: Option<NetworkTierConfig>, /* private fields */
}
Expand description

ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§desired_node_version: String

The Kubernetes version to change the nodes to (typically an upgrade).

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

  • “latest”: picks the highest valid Kubernetes version
  • “1.X”: picks the highest valid patch+gke.N patch in the 1.X version
  • “1.X.Y”: picks the highest valid gke.N patch in the 1.X.Y version
  • “1.X.Y-gke.N”: picks an explicit Kubernetes version
  • “-”: picks the Kubernetes master version
§desired_monitoring_service: String

The monitoring service the cluster should use to write metrics. Currently available options:

  • monitoring.googleapis.com/kubernetes - The Cloud Monitoring service with a Kubernetes-native resource model
  • monitoring.googleapis.com - The legacy Cloud Monitoring service (no longer available as of GKE 1.15).
  • none - No metrics will be exported from the cluster.

If left as an empty string,monitoring.googleapis.com/kubernetes will be used for GKE 1.14+ or monitoring.googleapis.com for earlier versions.

§desired_addons_config: Option<AddonsConfig>

Configurations for the various addons available to run in the cluster.

§desired_node_pool_id: String

The node pool to be upgraded. This field is mandatory if “desired_node_version”, “desired_image_family” or “desired_node_pool_autoscaling” is specified and there is more than one node pool on the cluster.

§desired_image_type: String

The desired image type for the node pool. NOTE: Set the “desired_node_pool” field as well.

§desired_database_encryption: Option<DatabaseEncryption>

Configuration of etcd encryption.

§desired_workload_identity_config: Option<WorkloadIdentityConfig>

Configuration for Workload Identity.

§desired_mesh_certificates: Option<MeshCertificates>

Configuration for issuance of mTLS keys and certificates to Kubernetes pods.

§desired_shielded_nodes: Option<ShieldedNodes>

Configuration for Shielded Nodes.

§desired_cost_management_config: Option<CostManagementConfig>

The desired configuration for the fine-grained cost management feature.

§desired_dns_config: Option<DNSConfig>

DNSConfig contains clusterDNS config for this cluster.

§desired_node_pool_autoscaling: Option<NodePoolAutoscaling>

Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.

§desired_locations: Vec<String>

The desired list of Google Compute Engine zones in which the cluster’s nodes should be located.

This list must always include the cluster’s primary zone.

Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.

§desired_master_authorized_networks_config: Option<MasterAuthorizedNetworksConfig>
👎Deprecated

The desired configuration options for master authorized networks feature.

Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead.

§desired_cluster_autoscaling: Option<ClusterAutoscaling>

Cluster-level autoscaling configuration.

§desired_binary_authorization: Option<BinaryAuthorization>

The desired configuration options for the Binary Authorization feature.

§desired_logging_service: String

The logging service the cluster should use to write logs. Currently available options:

  • logging.googleapis.com/kubernetes - The Cloud Logging service with a Kubernetes-native resource model
  • logging.googleapis.com - The legacy Cloud Logging service (no longer available as of GKE 1.15).
  • none - no logs will be exported from the cluster.

If left as an empty string,logging.googleapis.com/kubernetes will be used for GKE 1.14+ or logging.googleapis.com for earlier versions.

§desired_resource_usage_export_config: Option<ResourceUsageExportConfig>

The desired configuration for exporting resource usage.

§desired_vertical_pod_autoscaling: Option<VerticalPodAutoscaling>

Cluster-level Vertical Pod Autoscaling configuration.

§desired_private_cluster_config: Option<PrivateClusterConfig>
👎Deprecated

The desired private cluster configuration. master_global_access_config is the only field that can be changed via this field. See also ClusterUpdate.desired_enable_private_endpoint for modifying other fields within PrivateClusterConfig.

Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.global_access instead.

§desired_intra_node_visibility_config: Option<IntraNodeVisibilityConfig>

The desired config of Intra-node visibility.

§desired_default_snat_status: Option<DefaultSnatStatus>

The desired status of whether to disable default sNAT for this cluster.

§desired_release_channel: Option<ReleaseChannel>

The desired release channel configuration.

§desired_l4ilb_subsetting_config: Option<ILBSubsettingConfig>

The desired L4 Internal Load Balancer Subsetting configuration.

§desired_datapath_provider: DatapathProvider

The desired datapath provider for the cluster.

§desired_private_ipv6_google_access: PrivateIPv6GoogleAccess

The desired state of IPv6 connectivity to Google Services.

§desired_notification_config: Option<NotificationConfig>

The desired notification configuration.

§desired_authenticator_groups_config: Option<AuthenticatorGroupsConfig>

The desired authenticator groups config for the cluster.

§desired_logging_config: Option<LoggingConfig>

The desired logging configuration.

§desired_monitoring_config: Option<MonitoringConfig>

The desired monitoring configuration.

§desired_identity_service_config: Option<IdentityServiceConfig>

The desired Identity Service component configuration.

§desired_service_external_ips_config: Option<ServiceExternalIPsConfig>

ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field.

§desired_enable_private_endpoint: Option<bool>
👎Deprecated

Enable/Disable private endpoint for the cluster’s master.

Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.

§desired_default_enable_private_nodes: Option<bool>

Override the default setting of whether future created nodes have private IP addresses only, namely NetworkConfig.default_enable_private_nodes

§desired_control_plane_endpoints_config: Option<ControlPlaneEndpointsConfig>

Control plane endpoints configuration.

§desired_master_version: String

The Kubernetes version to change the master to.

Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

  • “latest”: picks the highest valid Kubernetes version
  • “1.X”: picks the highest valid patch+gke.N patch in the 1.X version
  • “1.X.Y”: picks the highest valid gke.N patch in the 1.X.Y version
  • “1.X.Y-gke.N”: picks an explicit Kubernetes version
  • “-”: picks the default Kubernetes version
§desired_gcfs_config: Option<GcfsConfig>

The desired GCFS config for the cluster

§desired_node_pool_auto_config_network_tags: Option<NetworkTags>

The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

§desired_pod_autoscaling: Option<PodAutoscaling>

The desired config for pod autoscaling.

§desired_gateway_api_config: Option<GatewayAPIConfig>

The desired config of Gateway API on this cluster.

§etag: String

The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.

§desired_node_pool_logging_config: Option<NodePoolLoggingConfig>

The desired node pool logging configuration defaults for the cluster.

§desired_fleet: Option<Fleet>

The desired fleet configuration for the cluster.

§desired_stack_type: StackType

The desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.

§additional_pod_ranges_config: Option<AdditionalPodRangesConfig>

The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs.

§removed_additional_pod_ranges_config: Option<AdditionalPodRangesConfig>

The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the ‘additional_pod_ranges_config’ argument.

§enable_k8s_beta_apis: Option<K8sBetaAPIConfig>

Kubernetes open source beta apis enabled on the cluster. Only beta apis

§desired_security_posture_config: Option<SecurityPostureConfig>

Enable/Disable Security Posture API features for the cluster.

§desired_network_performance_config: Option<ClusterNetworkPerformanceConfig>

The desired network performance config.

§desired_enable_fqdn_network_policy: Option<bool>

Enable/Disable FQDN Network Policy for the cluster.

§desired_autopilot_workload_policy_config: Option<WorkloadPolicyConfig>

WorkloadPolicyConfig is the configuration related to GCW workload policy

§desired_k8s_beta_apis: Option<K8sBetaAPIConfig>

Desired Beta APIs to be enabled for cluster.

§desired_containerd_config: Option<ContainerdConfig>

The desired containerd config for the cluster.

§desired_enable_multi_networking: Option<bool>

Enable/Disable Multi-Networking for the cluster

§desired_node_pool_auto_config_resource_manager_tags: Option<ResourceManagerTags>

The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

§desired_in_transit_encryption_config: Option<InTransitEncryptionConfig>

Specify the details of in-transit encryption.

§desired_enable_cilium_clusterwide_network_policy: Option<bool>

Enable/Disable Cilium Clusterwide Network Policy for the cluster.

§desired_secret_manager_config: Option<SecretManagerConfig>

Enable/Disable Secret Manager Config.

§desired_compliance_posture_config: Option<CompliancePostureConfig>

Enable/Disable Compliance Posture features for the cluster.

§desired_node_kubelet_config: Option<NodeKubeletConfig>

The desired node kubelet config for the cluster.

§desired_node_pool_auto_config_kubelet_config: Option<NodeKubeletConfig>

The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

§user_managed_keys_config: Option<UserManagedKeysConfig>
👎Deprecated

The Custom keys configuration for the cluster.

This field is deprecated. Use ClusterUpdate.desired_user_managed_keys_config instead.

§desired_rbac_binding_config: Option<RBACBindingConfig>

RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.

§desired_additional_ip_ranges_config: Option<DesiredAdditionalIPRangesConfig>

The desired config for additional subnetworks attached to the cluster.

§desired_enterprise_config: Option<DesiredEnterpriseConfig>
👎Deprecated

The desired enterprise configuration for the cluster.

Deprecated: GKE Enterprise features are now available without an Enterprise tier.

§desired_auto_ipam_config: Option<AutoIpamConfig>

AutoIpamConfig contains all information related to Auto IPAM

§desired_disable_l4_lb_firewall_reconciliation: Option<bool>

Enable/Disable L4 LB VPC firewall reconciliation for the cluster.

§desired_node_pool_auto_config_linux_node_config: Option<LinuxNodeConfig>

The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.

Currently only cgroup_mode can be set here.

§desired_user_managed_keys_config: Option<UserManagedKeysConfig>

The desired user managed keys config for the cluster.

§desired_anonymous_authentication_config: Option<AnonymousAuthenticationConfig>

Configuration for limiting anonymous access to all endpoints except the health checks.

§gke_auto_upgrade_config: Option<GkeAutoUpgradeConfig>

Configuration for GKE auto upgrade.

§desired_network_tier_config: Option<NetworkTierConfig>

The desired network tier configuration for the cluster.

Implementations§

Source§

impl ClusterUpdate

Source

pub fn new() -> Self

Source

pub fn set_desired_node_version<T: Into<String>>(self, v: T) -> Self

Sets the value of desired_node_version.

§Example
let x = ClusterUpdate::new().set_desired_node_version("example");
Source

pub fn set_desired_monitoring_service<T: Into<String>>(self, v: T) -> Self

Sets the value of desired_monitoring_service.

§Example
let x = ClusterUpdate::new().set_desired_monitoring_service("example");
Source

pub fn set_desired_addons_config<T>(self, v: T) -> Self
where T: Into<AddonsConfig>,

Sets the value of desired_addons_config.

§Example
use google_cloud_container_v1::model::AddonsConfig;
let x = ClusterUpdate::new().set_desired_addons_config(AddonsConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_addons_config<T>(self, v: Option<T>) -> Self
where T: Into<AddonsConfig>,

Sets or clears the value of desired_addons_config.

§Example
use google_cloud_container_v1::model::AddonsConfig;
let x = ClusterUpdate::new().set_or_clear_desired_addons_config(Some(AddonsConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_addons_config(None::<AddonsConfig>);
Source

pub fn set_desired_node_pool_id<T: Into<String>>(self, v: T) -> Self

Sets the value of desired_node_pool_id.

§Example
let x = ClusterUpdate::new().set_desired_node_pool_id("example");
Source

pub fn set_desired_image_type<T: Into<String>>(self, v: T) -> Self

Sets the value of desired_image_type.

§Example
let x = ClusterUpdate::new().set_desired_image_type("example");
Source

pub fn set_desired_database_encryption<T>(self, v: T) -> Self

Sets the value of desired_database_encryption.

§Example
use google_cloud_container_v1::model::DatabaseEncryption;
let x = ClusterUpdate::new().set_desired_database_encryption(DatabaseEncryption::default()/* use setters */);
Source

pub fn set_or_clear_desired_database_encryption<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_database_encryption.

§Example
use google_cloud_container_v1::model::DatabaseEncryption;
let x = ClusterUpdate::new().set_or_clear_desired_database_encryption(Some(DatabaseEncryption::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_database_encryption(None::<DatabaseEncryption>);
Source

pub fn set_desired_workload_identity_config<T>(self, v: T) -> Self

Sets the value of desired_workload_identity_config.

§Example
use google_cloud_container_v1::model::WorkloadIdentityConfig;
let x = ClusterUpdate::new().set_desired_workload_identity_config(WorkloadIdentityConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_workload_identity_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_workload_identity_config.

§Example
use google_cloud_container_v1::model::WorkloadIdentityConfig;
let x = ClusterUpdate::new().set_or_clear_desired_workload_identity_config(Some(WorkloadIdentityConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_workload_identity_config(None::<WorkloadIdentityConfig>);
Source

pub fn set_desired_mesh_certificates<T>(self, v: T) -> Self

Sets the value of desired_mesh_certificates.

§Example
use google_cloud_container_v1::model::MeshCertificates;
let x = ClusterUpdate::new().set_desired_mesh_certificates(MeshCertificates::default()/* use setters */);
Source

pub fn set_or_clear_desired_mesh_certificates<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_mesh_certificates.

§Example
use google_cloud_container_v1::model::MeshCertificates;
let x = ClusterUpdate::new().set_or_clear_desired_mesh_certificates(Some(MeshCertificates::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_mesh_certificates(None::<MeshCertificates>);
Source

pub fn set_desired_shielded_nodes<T>(self, v: T) -> Self
where T: Into<ShieldedNodes>,

Sets the value of desired_shielded_nodes.

§Example
use google_cloud_container_v1::model::ShieldedNodes;
let x = ClusterUpdate::new().set_desired_shielded_nodes(ShieldedNodes::default()/* use setters */);
Source

pub fn set_or_clear_desired_shielded_nodes<T>(self, v: Option<T>) -> Self
where T: Into<ShieldedNodes>,

Sets or clears the value of desired_shielded_nodes.

§Example
use google_cloud_container_v1::model::ShieldedNodes;
let x = ClusterUpdate::new().set_or_clear_desired_shielded_nodes(Some(ShieldedNodes::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_shielded_nodes(None::<ShieldedNodes>);
Source

pub fn set_desired_cost_management_config<T>(self, v: T) -> Self

Sets the value of desired_cost_management_config.

§Example
use google_cloud_container_v1::model::CostManagementConfig;
let x = ClusterUpdate::new().set_desired_cost_management_config(CostManagementConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_cost_management_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_cost_management_config.

§Example
use google_cloud_container_v1::model::CostManagementConfig;
let x = ClusterUpdate::new().set_or_clear_desired_cost_management_config(Some(CostManagementConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_cost_management_config(None::<CostManagementConfig>);
Source

pub fn set_desired_dns_config<T>(self, v: T) -> Self
where T: Into<DNSConfig>,

Sets the value of desired_dns_config.

§Example
use google_cloud_container_v1::model::DNSConfig;
let x = ClusterUpdate::new().set_desired_dns_config(DNSConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_dns_config<T>(self, v: Option<T>) -> Self
where T: Into<DNSConfig>,

Sets or clears the value of desired_dns_config.

§Example
use google_cloud_container_v1::model::DNSConfig;
let x = ClusterUpdate::new().set_or_clear_desired_dns_config(Some(DNSConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_dns_config(None::<DNSConfig>);
Source

pub fn set_desired_node_pool_autoscaling<T>(self, v: T) -> Self

Sets the value of desired_node_pool_autoscaling.

§Example
use google_cloud_container_v1::model::NodePoolAutoscaling;
let x = ClusterUpdate::new().set_desired_node_pool_autoscaling(NodePoolAutoscaling::default()/* use setters */);
Source

pub fn set_or_clear_desired_node_pool_autoscaling<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_node_pool_autoscaling.

§Example
use google_cloud_container_v1::model::NodePoolAutoscaling;
let x = ClusterUpdate::new().set_or_clear_desired_node_pool_autoscaling(Some(NodePoolAutoscaling::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_node_pool_autoscaling(None::<NodePoolAutoscaling>);
Source

pub fn set_desired_locations<T, V>(self, v: T) -> Self
where T: IntoIterator<Item = V>, V: Into<String>,

Sets the value of desired_locations.

§Example
let x = ClusterUpdate::new().set_desired_locations(["a", "b", "c"]);
Source

pub fn set_desired_master_authorized_networks_config<T>(self, v: T) -> Self

👎Deprecated

Sets the value of desired_master_authorized_networks_config.

§Example
use google_cloud_container_v1::model::MasterAuthorizedNetworksConfig;
let x = ClusterUpdate::new().set_desired_master_authorized_networks_config(MasterAuthorizedNetworksConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_master_authorized_networks_config<T>( self, v: Option<T>, ) -> Self

👎Deprecated

Sets or clears the value of desired_master_authorized_networks_config.

§Example
use google_cloud_container_v1::model::MasterAuthorizedNetworksConfig;
let x = ClusterUpdate::new().set_or_clear_desired_master_authorized_networks_config(Some(MasterAuthorizedNetworksConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_master_authorized_networks_config(None::<MasterAuthorizedNetworksConfig>);
Source

pub fn set_desired_cluster_autoscaling<T>(self, v: T) -> Self

Sets the value of desired_cluster_autoscaling.

§Example
use google_cloud_container_v1::model::ClusterAutoscaling;
let x = ClusterUpdate::new().set_desired_cluster_autoscaling(ClusterAutoscaling::default()/* use setters */);
Source

pub fn set_or_clear_desired_cluster_autoscaling<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_cluster_autoscaling.

§Example
use google_cloud_container_v1::model::ClusterAutoscaling;
let x = ClusterUpdate::new().set_or_clear_desired_cluster_autoscaling(Some(ClusterAutoscaling::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_cluster_autoscaling(None::<ClusterAutoscaling>);
Source

pub fn set_desired_binary_authorization<T>(self, v: T) -> Self

Sets the value of desired_binary_authorization.

§Example
use google_cloud_container_v1::model::BinaryAuthorization;
let x = ClusterUpdate::new().set_desired_binary_authorization(BinaryAuthorization::default()/* use setters */);
Source

pub fn set_or_clear_desired_binary_authorization<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_binary_authorization.

§Example
use google_cloud_container_v1::model::BinaryAuthorization;
let x = ClusterUpdate::new().set_or_clear_desired_binary_authorization(Some(BinaryAuthorization::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_binary_authorization(None::<BinaryAuthorization>);
Source

pub fn set_desired_logging_service<T: Into<String>>(self, v: T) -> Self

Sets the value of desired_logging_service.

§Example
let x = ClusterUpdate::new().set_desired_logging_service("example");
Source

pub fn set_desired_resource_usage_export_config<T>(self, v: T) -> Self

Sets the value of desired_resource_usage_export_config.

§Example
use google_cloud_container_v1::model::ResourceUsageExportConfig;
let x = ClusterUpdate::new().set_desired_resource_usage_export_config(ResourceUsageExportConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_resource_usage_export_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_resource_usage_export_config.

§Example
use google_cloud_container_v1::model::ResourceUsageExportConfig;
let x = ClusterUpdate::new().set_or_clear_desired_resource_usage_export_config(Some(ResourceUsageExportConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_resource_usage_export_config(None::<ResourceUsageExportConfig>);
Source

pub fn set_desired_vertical_pod_autoscaling<T>(self, v: T) -> Self

Sets the value of desired_vertical_pod_autoscaling.

§Example
use google_cloud_container_v1::model::VerticalPodAutoscaling;
let x = ClusterUpdate::new().set_desired_vertical_pod_autoscaling(VerticalPodAutoscaling::default()/* use setters */);
Source

pub fn set_or_clear_desired_vertical_pod_autoscaling<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_vertical_pod_autoscaling.

§Example
use google_cloud_container_v1::model::VerticalPodAutoscaling;
let x = ClusterUpdate::new().set_or_clear_desired_vertical_pod_autoscaling(Some(VerticalPodAutoscaling::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_vertical_pod_autoscaling(None::<VerticalPodAutoscaling>);
Source

pub fn set_desired_private_cluster_config<T>(self, v: T) -> Self

👎Deprecated

Sets the value of desired_private_cluster_config.

§Example
use google_cloud_container_v1::model::PrivateClusterConfig;
let x = ClusterUpdate::new().set_desired_private_cluster_config(PrivateClusterConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_private_cluster_config<T>( self, v: Option<T>, ) -> Self

👎Deprecated

Sets or clears the value of desired_private_cluster_config.

§Example
use google_cloud_container_v1::model::PrivateClusterConfig;
let x = ClusterUpdate::new().set_or_clear_desired_private_cluster_config(Some(PrivateClusterConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_private_cluster_config(None::<PrivateClusterConfig>);
Source

pub fn set_desired_intra_node_visibility_config<T>(self, v: T) -> Self

Sets the value of desired_intra_node_visibility_config.

§Example
use google_cloud_container_v1::model::IntraNodeVisibilityConfig;
let x = ClusterUpdate::new().set_desired_intra_node_visibility_config(IntraNodeVisibilityConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_intra_node_visibility_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_intra_node_visibility_config.

§Example
use google_cloud_container_v1::model::IntraNodeVisibilityConfig;
let x = ClusterUpdate::new().set_or_clear_desired_intra_node_visibility_config(Some(IntraNodeVisibilityConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_intra_node_visibility_config(None::<IntraNodeVisibilityConfig>);
Source

pub fn set_desired_default_snat_status<T>(self, v: T) -> Self

Sets the value of desired_default_snat_status.

§Example
use google_cloud_container_v1::model::DefaultSnatStatus;
let x = ClusterUpdate::new().set_desired_default_snat_status(DefaultSnatStatus::default()/* use setters */);
Source

pub fn set_or_clear_desired_default_snat_status<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_default_snat_status.

§Example
use google_cloud_container_v1::model::DefaultSnatStatus;
let x = ClusterUpdate::new().set_or_clear_desired_default_snat_status(Some(DefaultSnatStatus::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_default_snat_status(None::<DefaultSnatStatus>);
Source

pub fn set_desired_release_channel<T>(self, v: T) -> Self
where T: Into<ReleaseChannel>,

Sets the value of desired_release_channel.

§Example
use google_cloud_container_v1::model::ReleaseChannel;
let x = ClusterUpdate::new().set_desired_release_channel(ReleaseChannel::default()/* use setters */);
Source

pub fn set_or_clear_desired_release_channel<T>(self, v: Option<T>) -> Self
where T: Into<ReleaseChannel>,

Sets or clears the value of desired_release_channel.

§Example
use google_cloud_container_v1::model::ReleaseChannel;
let x = ClusterUpdate::new().set_or_clear_desired_release_channel(Some(ReleaseChannel::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_release_channel(None::<ReleaseChannel>);
Source

pub fn set_desired_l4ilb_subsetting_config<T>(self, v: T) -> Self

Sets the value of desired_l4ilb_subsetting_config.

§Example
use google_cloud_container_v1::model::ILBSubsettingConfig;
let x = ClusterUpdate::new().set_desired_l4ilb_subsetting_config(ILBSubsettingConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_l4ilb_subsetting_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_l4ilb_subsetting_config.

§Example
use google_cloud_container_v1::model::ILBSubsettingConfig;
let x = ClusterUpdate::new().set_or_clear_desired_l4ilb_subsetting_config(Some(ILBSubsettingConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_l4ilb_subsetting_config(None::<ILBSubsettingConfig>);
Source

pub fn set_desired_datapath_provider<T: Into<DatapathProvider>>( self, v: T, ) -> Self

Sets the value of desired_datapath_provider.

§Example
use google_cloud_container_v1::model::DatapathProvider;
let x0 = ClusterUpdate::new().set_desired_datapath_provider(DatapathProvider::LegacyDatapath);
let x1 = ClusterUpdate::new().set_desired_datapath_provider(DatapathProvider::AdvancedDatapath);
Source

pub fn set_desired_private_ipv6_google_access<T: Into<PrivateIPv6GoogleAccess>>( self, v: T, ) -> Self

Sets the value of desired_private_ipv6_google_access.

§Example
use google_cloud_container_v1::model::PrivateIPv6GoogleAccess;
let x0 = ClusterUpdate::new().set_desired_private_ipv6_google_access(PrivateIPv6GoogleAccess::PrivateIpv6GoogleAccessDisabled);
let x1 = ClusterUpdate::new().set_desired_private_ipv6_google_access(PrivateIPv6GoogleAccess::PrivateIpv6GoogleAccessToGoogle);
let x2 = ClusterUpdate::new().set_desired_private_ipv6_google_access(PrivateIPv6GoogleAccess::PrivateIpv6GoogleAccessBidirectional);
Source

pub fn set_desired_notification_config<T>(self, v: T) -> Self

Sets the value of desired_notification_config.

§Example
use google_cloud_container_v1::model::NotificationConfig;
let x = ClusterUpdate::new().set_desired_notification_config(NotificationConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_notification_config<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_notification_config.

§Example
use google_cloud_container_v1::model::NotificationConfig;
let x = ClusterUpdate::new().set_or_clear_desired_notification_config(Some(NotificationConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_notification_config(None::<NotificationConfig>);
Source

pub fn set_desired_authenticator_groups_config<T>(self, v: T) -> Self

Sets the value of desired_authenticator_groups_config.

§Example
use google_cloud_container_v1::model::AuthenticatorGroupsConfig;
let x = ClusterUpdate::new().set_desired_authenticator_groups_config(AuthenticatorGroupsConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_authenticator_groups_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_authenticator_groups_config.

§Example
use google_cloud_container_v1::model::AuthenticatorGroupsConfig;
let x = ClusterUpdate::new().set_or_clear_desired_authenticator_groups_config(Some(AuthenticatorGroupsConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_authenticator_groups_config(None::<AuthenticatorGroupsConfig>);
Source

pub fn set_desired_logging_config<T>(self, v: T) -> Self
where T: Into<LoggingConfig>,

Sets the value of desired_logging_config.

§Example
use google_cloud_container_v1::model::LoggingConfig;
let x = ClusterUpdate::new().set_desired_logging_config(LoggingConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_logging_config<T>(self, v: Option<T>) -> Self
where T: Into<LoggingConfig>,

Sets or clears the value of desired_logging_config.

§Example
use google_cloud_container_v1::model::LoggingConfig;
let x = ClusterUpdate::new().set_or_clear_desired_logging_config(Some(LoggingConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_logging_config(None::<LoggingConfig>);
Source

pub fn set_desired_monitoring_config<T>(self, v: T) -> Self

Sets the value of desired_monitoring_config.

§Example
use google_cloud_container_v1::model::MonitoringConfig;
let x = ClusterUpdate::new().set_desired_monitoring_config(MonitoringConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_monitoring_config<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_monitoring_config.

§Example
use google_cloud_container_v1::model::MonitoringConfig;
let x = ClusterUpdate::new().set_or_clear_desired_monitoring_config(Some(MonitoringConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_monitoring_config(None::<MonitoringConfig>);
Source

pub fn set_desired_identity_service_config<T>(self, v: T) -> Self

Sets the value of desired_identity_service_config.

§Example
use google_cloud_container_v1::model::IdentityServiceConfig;
let x = ClusterUpdate::new().set_desired_identity_service_config(IdentityServiceConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_identity_service_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_identity_service_config.

§Example
use google_cloud_container_v1::model::IdentityServiceConfig;
let x = ClusterUpdate::new().set_or_clear_desired_identity_service_config(Some(IdentityServiceConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_identity_service_config(None::<IdentityServiceConfig>);
Source

pub fn set_desired_service_external_ips_config<T>(self, v: T) -> Self

Sets the value of desired_service_external_ips_config.

§Example
use google_cloud_container_v1::model::ServiceExternalIPsConfig;
let x = ClusterUpdate::new().set_desired_service_external_ips_config(ServiceExternalIPsConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_service_external_ips_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_service_external_ips_config.

§Example
use google_cloud_container_v1::model::ServiceExternalIPsConfig;
let x = ClusterUpdate::new().set_or_clear_desired_service_external_ips_config(Some(ServiceExternalIPsConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_service_external_ips_config(None::<ServiceExternalIPsConfig>);
Source

pub fn set_desired_enable_private_endpoint<T>(self, v: T) -> Self
where T: Into<bool>,

👎Deprecated

Sets the value of desired_enable_private_endpoint.

§Example
let x = ClusterUpdate::new().set_desired_enable_private_endpoint(true);
Source

pub fn set_or_clear_desired_enable_private_endpoint<T>( self, v: Option<T>, ) -> Self
where T: Into<bool>,

👎Deprecated

Sets or clears the value of desired_enable_private_endpoint.

§Example
let x = ClusterUpdate::new().set_or_clear_desired_enable_private_endpoint(Some(false));
let x = ClusterUpdate::new().set_or_clear_desired_enable_private_endpoint(None::<bool>);
Source

pub fn set_desired_default_enable_private_nodes<T>(self, v: T) -> Self
where T: Into<bool>,

Sets the value of desired_default_enable_private_nodes.

§Example
let x = ClusterUpdate::new().set_desired_default_enable_private_nodes(true);
Source

pub fn set_or_clear_desired_default_enable_private_nodes<T>( self, v: Option<T>, ) -> Self
where T: Into<bool>,

Sets or clears the value of desired_default_enable_private_nodes.

§Example
let x = ClusterUpdate::new().set_or_clear_desired_default_enable_private_nodes(Some(false));
let x = ClusterUpdate::new().set_or_clear_desired_default_enable_private_nodes(None::<bool>);
Source

pub fn set_desired_control_plane_endpoints_config<T>(self, v: T) -> Self

Sets the value of desired_control_plane_endpoints_config.

§Example
use google_cloud_container_v1::model::ControlPlaneEndpointsConfig;
let x = ClusterUpdate::new().set_desired_control_plane_endpoints_config(ControlPlaneEndpointsConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_control_plane_endpoints_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_control_plane_endpoints_config.

§Example
use google_cloud_container_v1::model::ControlPlaneEndpointsConfig;
let x = ClusterUpdate::new().set_or_clear_desired_control_plane_endpoints_config(Some(ControlPlaneEndpointsConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_control_plane_endpoints_config(None::<ControlPlaneEndpointsConfig>);
Source

pub fn set_desired_master_version<T: Into<String>>(self, v: T) -> Self

Sets the value of desired_master_version.

§Example
let x = ClusterUpdate::new().set_desired_master_version("example");
Source

pub fn set_desired_gcfs_config<T>(self, v: T) -> Self
where T: Into<GcfsConfig>,

Sets the value of desired_gcfs_config.

§Example
use google_cloud_container_v1::model::GcfsConfig;
let x = ClusterUpdate::new().set_desired_gcfs_config(GcfsConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_gcfs_config<T>(self, v: Option<T>) -> Self
where T: Into<GcfsConfig>,

Sets or clears the value of desired_gcfs_config.

§Example
use google_cloud_container_v1::model::GcfsConfig;
let x = ClusterUpdate::new().set_or_clear_desired_gcfs_config(Some(GcfsConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_gcfs_config(None::<GcfsConfig>);
Source

pub fn set_desired_node_pool_auto_config_network_tags<T>(self, v: T) -> Self
where T: Into<NetworkTags>,

Sets the value of desired_node_pool_auto_config_network_tags.

§Example
use google_cloud_container_v1::model::NetworkTags;
let x = ClusterUpdate::new().set_desired_node_pool_auto_config_network_tags(NetworkTags::default()/* use setters */);
Source

pub fn set_or_clear_desired_node_pool_auto_config_network_tags<T>( self, v: Option<T>, ) -> Self
where T: Into<NetworkTags>,

Sets or clears the value of desired_node_pool_auto_config_network_tags.

§Example
use google_cloud_container_v1::model::NetworkTags;
let x = ClusterUpdate::new().set_or_clear_desired_node_pool_auto_config_network_tags(Some(NetworkTags::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_node_pool_auto_config_network_tags(None::<NetworkTags>);
Source

pub fn set_desired_pod_autoscaling<T>(self, v: T) -> Self
where T: Into<PodAutoscaling>,

Sets the value of desired_pod_autoscaling.

§Example
use google_cloud_container_v1::model::PodAutoscaling;
let x = ClusterUpdate::new().set_desired_pod_autoscaling(PodAutoscaling::default()/* use setters */);
Source

pub fn set_or_clear_desired_pod_autoscaling<T>(self, v: Option<T>) -> Self
where T: Into<PodAutoscaling>,

Sets or clears the value of desired_pod_autoscaling.

§Example
use google_cloud_container_v1::model::PodAutoscaling;
let x = ClusterUpdate::new().set_or_clear_desired_pod_autoscaling(Some(PodAutoscaling::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_pod_autoscaling(None::<PodAutoscaling>);
Source

pub fn set_desired_gateway_api_config<T>(self, v: T) -> Self

Sets the value of desired_gateway_api_config.

§Example
use google_cloud_container_v1::model::GatewayAPIConfig;
let x = ClusterUpdate::new().set_desired_gateway_api_config(GatewayAPIConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_gateway_api_config<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_gateway_api_config.

§Example
use google_cloud_container_v1::model::GatewayAPIConfig;
let x = ClusterUpdate::new().set_or_clear_desired_gateway_api_config(Some(GatewayAPIConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_gateway_api_config(None::<GatewayAPIConfig>);
Source

pub fn set_etag<T: Into<String>>(self, v: T) -> Self

Sets the value of etag.

§Example
let x = ClusterUpdate::new().set_etag("example");
Source

pub fn set_desired_node_pool_logging_config<T>(self, v: T) -> Self

Sets the value of desired_node_pool_logging_config.

§Example
use google_cloud_container_v1::model::NodePoolLoggingConfig;
let x = ClusterUpdate::new().set_desired_node_pool_logging_config(NodePoolLoggingConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_node_pool_logging_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_node_pool_logging_config.

§Example
use google_cloud_container_v1::model::NodePoolLoggingConfig;
let x = ClusterUpdate::new().set_or_clear_desired_node_pool_logging_config(Some(NodePoolLoggingConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_node_pool_logging_config(None::<NodePoolLoggingConfig>);
Source

pub fn set_desired_fleet<T>(self, v: T) -> Self
where T: Into<Fleet>,

Sets the value of desired_fleet.

§Example
use google_cloud_container_v1::model::Fleet;
let x = ClusterUpdate::new().set_desired_fleet(Fleet::default()/* use setters */);
Source

pub fn set_or_clear_desired_fleet<T>(self, v: Option<T>) -> Self
where T: Into<Fleet>,

Sets or clears the value of desired_fleet.

§Example
use google_cloud_container_v1::model::Fleet;
let x = ClusterUpdate::new().set_or_clear_desired_fleet(Some(Fleet::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_fleet(None::<Fleet>);
Source

pub fn set_desired_stack_type<T: Into<StackType>>(self, v: T) -> Self

Sets the value of desired_stack_type.

§Example
use google_cloud_container_v1::model::StackType;
let x0 = ClusterUpdate::new().set_desired_stack_type(StackType::Ipv4);
let x1 = ClusterUpdate::new().set_desired_stack_type(StackType::Ipv4Ipv6);
Source

pub fn set_additional_pod_ranges_config<T>(self, v: T) -> Self

Sets the value of additional_pod_ranges_config.

§Example
use google_cloud_container_v1::model::AdditionalPodRangesConfig;
let x = ClusterUpdate::new().set_additional_pod_ranges_config(AdditionalPodRangesConfig::default()/* use setters */);
Source

pub fn set_or_clear_additional_pod_ranges_config<T>(self, v: Option<T>) -> Self

Sets or clears the value of additional_pod_ranges_config.

§Example
use google_cloud_container_v1::model::AdditionalPodRangesConfig;
let x = ClusterUpdate::new().set_or_clear_additional_pod_ranges_config(Some(AdditionalPodRangesConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_additional_pod_ranges_config(None::<AdditionalPodRangesConfig>);
Source

pub fn set_removed_additional_pod_ranges_config<T>(self, v: T) -> Self

Sets the value of removed_additional_pod_ranges_config.

§Example
use google_cloud_container_v1::model::AdditionalPodRangesConfig;
let x = ClusterUpdate::new().set_removed_additional_pod_ranges_config(AdditionalPodRangesConfig::default()/* use setters */);
Source

pub fn set_or_clear_removed_additional_pod_ranges_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of removed_additional_pod_ranges_config.

§Example
use google_cloud_container_v1::model::AdditionalPodRangesConfig;
let x = ClusterUpdate::new().set_or_clear_removed_additional_pod_ranges_config(Some(AdditionalPodRangesConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_removed_additional_pod_ranges_config(None::<AdditionalPodRangesConfig>);
Source

pub fn set_enable_k8s_beta_apis<T>(self, v: T) -> Self

Sets the value of enable_k8s_beta_apis.

§Example
use google_cloud_container_v1::model::K8sBetaAPIConfig;
let x = ClusterUpdate::new().set_enable_k8s_beta_apis(K8sBetaAPIConfig::default()/* use setters */);
Source

pub fn set_or_clear_enable_k8s_beta_apis<T>(self, v: Option<T>) -> Self

Sets or clears the value of enable_k8s_beta_apis.

§Example
use google_cloud_container_v1::model::K8sBetaAPIConfig;
let x = ClusterUpdate::new().set_or_clear_enable_k8s_beta_apis(Some(K8sBetaAPIConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_enable_k8s_beta_apis(None::<K8sBetaAPIConfig>);
Source

pub fn set_desired_security_posture_config<T>(self, v: T) -> Self

Sets the value of desired_security_posture_config.

§Example
use google_cloud_container_v1::model::SecurityPostureConfig;
let x = ClusterUpdate::new().set_desired_security_posture_config(SecurityPostureConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_security_posture_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_security_posture_config.

§Example
use google_cloud_container_v1::model::SecurityPostureConfig;
let x = ClusterUpdate::new().set_or_clear_desired_security_posture_config(Some(SecurityPostureConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_security_posture_config(None::<SecurityPostureConfig>);
Source

pub fn set_desired_network_performance_config<T>(self, v: T) -> Self

Sets the value of desired_network_performance_config.

§Example
use google_cloud_container_v1::model::network_config::ClusterNetworkPerformanceConfig;
let x = ClusterUpdate::new().set_desired_network_performance_config(ClusterNetworkPerformanceConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_network_performance_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_network_performance_config.

§Example
use google_cloud_container_v1::model::network_config::ClusterNetworkPerformanceConfig;
let x = ClusterUpdate::new().set_or_clear_desired_network_performance_config(Some(ClusterNetworkPerformanceConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_network_performance_config(None::<ClusterNetworkPerformanceConfig>);
Source

pub fn set_desired_enable_fqdn_network_policy<T>(self, v: T) -> Self
where T: Into<bool>,

Sets the value of desired_enable_fqdn_network_policy.

§Example
let x = ClusterUpdate::new().set_desired_enable_fqdn_network_policy(true);
Source

pub fn set_or_clear_desired_enable_fqdn_network_policy<T>( self, v: Option<T>, ) -> Self
where T: Into<bool>,

Sets or clears the value of desired_enable_fqdn_network_policy.

§Example
let x = ClusterUpdate::new().set_or_clear_desired_enable_fqdn_network_policy(Some(false));
let x = ClusterUpdate::new().set_or_clear_desired_enable_fqdn_network_policy(None::<bool>);
Source

pub fn set_desired_autopilot_workload_policy_config<T>(self, v: T) -> Self

Sets the value of desired_autopilot_workload_policy_config.

§Example
use google_cloud_container_v1::model::WorkloadPolicyConfig;
let x = ClusterUpdate::new().set_desired_autopilot_workload_policy_config(WorkloadPolicyConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_autopilot_workload_policy_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_autopilot_workload_policy_config.

§Example
use google_cloud_container_v1::model::WorkloadPolicyConfig;
let x = ClusterUpdate::new().set_or_clear_desired_autopilot_workload_policy_config(Some(WorkloadPolicyConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_autopilot_workload_policy_config(None::<WorkloadPolicyConfig>);
Source

pub fn set_desired_k8s_beta_apis<T>(self, v: T) -> Self

Sets the value of desired_k8s_beta_apis.

§Example
use google_cloud_container_v1::model::K8sBetaAPIConfig;
let x = ClusterUpdate::new().set_desired_k8s_beta_apis(K8sBetaAPIConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_k8s_beta_apis<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_k8s_beta_apis.

§Example
use google_cloud_container_v1::model::K8sBetaAPIConfig;
let x = ClusterUpdate::new().set_or_clear_desired_k8s_beta_apis(Some(K8sBetaAPIConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_k8s_beta_apis(None::<K8sBetaAPIConfig>);
Source

pub fn set_desired_containerd_config<T>(self, v: T) -> Self

Sets the value of desired_containerd_config.

§Example
use google_cloud_container_v1::model::ContainerdConfig;
let x = ClusterUpdate::new().set_desired_containerd_config(ContainerdConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_containerd_config<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_containerd_config.

§Example
use google_cloud_container_v1::model::ContainerdConfig;
let x = ClusterUpdate::new().set_or_clear_desired_containerd_config(Some(ContainerdConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_containerd_config(None::<ContainerdConfig>);
Source

pub fn set_desired_enable_multi_networking<T>(self, v: T) -> Self
where T: Into<bool>,

Sets the value of desired_enable_multi_networking.

§Example
let x = ClusterUpdate::new().set_desired_enable_multi_networking(true);
Source

pub fn set_or_clear_desired_enable_multi_networking<T>( self, v: Option<T>, ) -> Self
where T: Into<bool>,

Sets or clears the value of desired_enable_multi_networking.

§Example
let x = ClusterUpdate::new().set_or_clear_desired_enable_multi_networking(Some(false));
let x = ClusterUpdate::new().set_or_clear_desired_enable_multi_networking(None::<bool>);
Source

pub fn set_desired_node_pool_auto_config_resource_manager_tags<T>( self, v: T, ) -> Self

Sets the value of desired_node_pool_auto_config_resource_manager_tags.

§Example
use google_cloud_container_v1::model::ResourceManagerTags;
let x = ClusterUpdate::new().set_desired_node_pool_auto_config_resource_manager_tags(ResourceManagerTags::default()/* use setters */);
Source

pub fn set_or_clear_desired_node_pool_auto_config_resource_manager_tags<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_node_pool_auto_config_resource_manager_tags.

§Example
use google_cloud_container_v1::model::ResourceManagerTags;
let x = ClusterUpdate::new().set_or_clear_desired_node_pool_auto_config_resource_manager_tags(Some(ResourceManagerTags::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_node_pool_auto_config_resource_manager_tags(None::<ResourceManagerTags>);
Source

pub fn set_desired_in_transit_encryption_config<T>(self, v: T) -> Self

Sets the value of desired_in_transit_encryption_config.

§Example
use google_cloud_container_v1::model::InTransitEncryptionConfig;
let x0 = ClusterUpdate::new().set_desired_in_transit_encryption_config(InTransitEncryptionConfig::InTransitEncryptionDisabled);
let x1 = ClusterUpdate::new().set_desired_in_transit_encryption_config(InTransitEncryptionConfig::InTransitEncryptionInterNodeTransparent);
Source

pub fn set_or_clear_desired_in_transit_encryption_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_in_transit_encryption_config.

§Example
use google_cloud_container_v1::model::InTransitEncryptionConfig;
let x0 = ClusterUpdate::new().set_or_clear_desired_in_transit_encryption_config(Some(InTransitEncryptionConfig::InTransitEncryptionDisabled));
let x1 = ClusterUpdate::new().set_or_clear_desired_in_transit_encryption_config(Some(InTransitEncryptionConfig::InTransitEncryptionInterNodeTransparent));
let x_none = ClusterUpdate::new().set_or_clear_desired_in_transit_encryption_config(None::<InTransitEncryptionConfig>);
Source

pub fn set_desired_enable_cilium_clusterwide_network_policy<T>( self, v: T, ) -> Self
where T: Into<bool>,

Sets the value of desired_enable_cilium_clusterwide_network_policy.

§Example
let x = ClusterUpdate::new().set_desired_enable_cilium_clusterwide_network_policy(true);
Source

pub fn set_or_clear_desired_enable_cilium_clusterwide_network_policy<T>( self, v: Option<T>, ) -> Self
where T: Into<bool>,

Sets or clears the value of desired_enable_cilium_clusterwide_network_policy.

§Example
let x = ClusterUpdate::new().set_or_clear_desired_enable_cilium_clusterwide_network_policy(Some(false));
let x = ClusterUpdate::new().set_or_clear_desired_enable_cilium_clusterwide_network_policy(None::<bool>);
Source

pub fn set_desired_secret_manager_config<T>(self, v: T) -> Self

Sets the value of desired_secret_manager_config.

§Example
use google_cloud_container_v1::model::SecretManagerConfig;
let x = ClusterUpdate::new().set_desired_secret_manager_config(SecretManagerConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_secret_manager_config<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_secret_manager_config.

§Example
use google_cloud_container_v1::model::SecretManagerConfig;
let x = ClusterUpdate::new().set_or_clear_desired_secret_manager_config(Some(SecretManagerConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_secret_manager_config(None::<SecretManagerConfig>);
Source

pub fn set_desired_compliance_posture_config<T>(self, v: T) -> Self

Sets the value of desired_compliance_posture_config.

§Example
use google_cloud_container_v1::model::CompliancePostureConfig;
let x = ClusterUpdate::new().set_desired_compliance_posture_config(CompliancePostureConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_compliance_posture_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_compliance_posture_config.

§Example
use google_cloud_container_v1::model::CompliancePostureConfig;
let x = ClusterUpdate::new().set_or_clear_desired_compliance_posture_config(Some(CompliancePostureConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_compliance_posture_config(None::<CompliancePostureConfig>);
Source

pub fn set_desired_node_kubelet_config<T>(self, v: T) -> Self

Sets the value of desired_node_kubelet_config.

§Example
use google_cloud_container_v1::model::NodeKubeletConfig;
let x = ClusterUpdate::new().set_desired_node_kubelet_config(NodeKubeletConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_node_kubelet_config<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_node_kubelet_config.

§Example
use google_cloud_container_v1::model::NodeKubeletConfig;
let x = ClusterUpdate::new().set_or_clear_desired_node_kubelet_config(Some(NodeKubeletConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_node_kubelet_config(None::<NodeKubeletConfig>);
Source

pub fn set_desired_node_pool_auto_config_kubelet_config<T>(self, v: T) -> Self

Sets the value of desired_node_pool_auto_config_kubelet_config.

§Example
use google_cloud_container_v1::model::NodeKubeletConfig;
let x = ClusterUpdate::new().set_desired_node_pool_auto_config_kubelet_config(NodeKubeletConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_node_pool_auto_config_kubelet_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_node_pool_auto_config_kubelet_config.

§Example
use google_cloud_container_v1::model::NodeKubeletConfig;
let x = ClusterUpdate::new().set_or_clear_desired_node_pool_auto_config_kubelet_config(Some(NodeKubeletConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_node_pool_auto_config_kubelet_config(None::<NodeKubeletConfig>);
Source

pub fn set_user_managed_keys_config<T>(self, v: T) -> Self

👎Deprecated

Sets the value of user_managed_keys_config.

§Example
use google_cloud_container_v1::model::UserManagedKeysConfig;
let x = ClusterUpdate::new().set_user_managed_keys_config(UserManagedKeysConfig::default()/* use setters */);
Source

pub fn set_or_clear_user_managed_keys_config<T>(self, v: Option<T>) -> Self

👎Deprecated

Sets or clears the value of user_managed_keys_config.

§Example
use google_cloud_container_v1::model::UserManagedKeysConfig;
let x = ClusterUpdate::new().set_or_clear_user_managed_keys_config(Some(UserManagedKeysConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_user_managed_keys_config(None::<UserManagedKeysConfig>);
Source

pub fn set_desired_rbac_binding_config<T>(self, v: T) -> Self

Sets the value of desired_rbac_binding_config.

§Example
use google_cloud_container_v1::model::RBACBindingConfig;
let x = ClusterUpdate::new().set_desired_rbac_binding_config(RBACBindingConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_rbac_binding_config<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_rbac_binding_config.

§Example
use google_cloud_container_v1::model::RBACBindingConfig;
let x = ClusterUpdate::new().set_or_clear_desired_rbac_binding_config(Some(RBACBindingConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_rbac_binding_config(None::<RBACBindingConfig>);
Source

pub fn set_desired_additional_ip_ranges_config<T>(self, v: T) -> Self

Sets the value of desired_additional_ip_ranges_config.

§Example
use google_cloud_container_v1::model::DesiredAdditionalIPRangesConfig;
let x = ClusterUpdate::new().set_desired_additional_ip_ranges_config(DesiredAdditionalIPRangesConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_additional_ip_ranges_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_additional_ip_ranges_config.

§Example
use google_cloud_container_v1::model::DesiredAdditionalIPRangesConfig;
let x = ClusterUpdate::new().set_or_clear_desired_additional_ip_ranges_config(Some(DesiredAdditionalIPRangesConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_additional_ip_ranges_config(None::<DesiredAdditionalIPRangesConfig>);
Source

pub fn set_desired_enterprise_config<T>(self, v: T) -> Self

👎Deprecated

Sets the value of desired_enterprise_config.

§Example
use google_cloud_container_v1::model::DesiredEnterpriseConfig;
let x = ClusterUpdate::new().set_desired_enterprise_config(DesiredEnterpriseConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_enterprise_config<T>(self, v: Option<T>) -> Self

👎Deprecated

Sets or clears the value of desired_enterprise_config.

§Example
use google_cloud_container_v1::model::DesiredEnterpriseConfig;
let x = ClusterUpdate::new().set_or_clear_desired_enterprise_config(Some(DesiredEnterpriseConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_enterprise_config(None::<DesiredEnterpriseConfig>);
Source

pub fn set_desired_auto_ipam_config<T>(self, v: T) -> Self
where T: Into<AutoIpamConfig>,

Sets the value of desired_auto_ipam_config.

§Example
use google_cloud_container_v1::model::AutoIpamConfig;
let x = ClusterUpdate::new().set_desired_auto_ipam_config(AutoIpamConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_auto_ipam_config<T>(self, v: Option<T>) -> Self
where T: Into<AutoIpamConfig>,

Sets or clears the value of desired_auto_ipam_config.

§Example
use google_cloud_container_v1::model::AutoIpamConfig;
let x = ClusterUpdate::new().set_or_clear_desired_auto_ipam_config(Some(AutoIpamConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_auto_ipam_config(None::<AutoIpamConfig>);
Source

pub fn set_desired_disable_l4_lb_firewall_reconciliation<T>(self, v: T) -> Self
where T: Into<bool>,

Sets the value of desired_disable_l4_lb_firewall_reconciliation.

§Example
let x = ClusterUpdate::new().set_desired_disable_l4_lb_firewall_reconciliation(true);
Source

pub fn set_or_clear_desired_disable_l4_lb_firewall_reconciliation<T>( self, v: Option<T>, ) -> Self
where T: Into<bool>,

Sets or clears the value of desired_disable_l4_lb_firewall_reconciliation.

§Example
let x = ClusterUpdate::new().set_or_clear_desired_disable_l4_lb_firewall_reconciliation(Some(false));
let x = ClusterUpdate::new().set_or_clear_desired_disable_l4_lb_firewall_reconciliation(None::<bool>);
Source

pub fn set_desired_node_pool_auto_config_linux_node_config<T>( self, v: T, ) -> Self

Sets the value of desired_node_pool_auto_config_linux_node_config.

§Example
use google_cloud_container_v1::model::LinuxNodeConfig;
let x = ClusterUpdate::new().set_desired_node_pool_auto_config_linux_node_config(LinuxNodeConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_node_pool_auto_config_linux_node_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_node_pool_auto_config_linux_node_config.

§Example
use google_cloud_container_v1::model::LinuxNodeConfig;
let x = ClusterUpdate::new().set_or_clear_desired_node_pool_auto_config_linux_node_config(Some(LinuxNodeConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_node_pool_auto_config_linux_node_config(None::<LinuxNodeConfig>);
Source

pub fn set_desired_user_managed_keys_config<T>(self, v: T) -> Self

Sets the value of desired_user_managed_keys_config.

§Example
use google_cloud_container_v1::model::UserManagedKeysConfig;
let x = ClusterUpdate::new().set_desired_user_managed_keys_config(UserManagedKeysConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_user_managed_keys_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_user_managed_keys_config.

§Example
use google_cloud_container_v1::model::UserManagedKeysConfig;
let x = ClusterUpdate::new().set_or_clear_desired_user_managed_keys_config(Some(UserManagedKeysConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_user_managed_keys_config(None::<UserManagedKeysConfig>);
Source

pub fn set_desired_anonymous_authentication_config<T>(self, v: T) -> Self

Sets the value of desired_anonymous_authentication_config.

§Example
use google_cloud_container_v1::model::AnonymousAuthenticationConfig;
let x = ClusterUpdate::new().set_desired_anonymous_authentication_config(AnonymousAuthenticationConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_anonymous_authentication_config<T>( self, v: Option<T>, ) -> Self

Sets or clears the value of desired_anonymous_authentication_config.

§Example
use google_cloud_container_v1::model::AnonymousAuthenticationConfig;
let x = ClusterUpdate::new().set_or_clear_desired_anonymous_authentication_config(Some(AnonymousAuthenticationConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_anonymous_authentication_config(None::<AnonymousAuthenticationConfig>);
Source

pub fn set_gke_auto_upgrade_config<T>(self, v: T) -> Self

Sets the value of gke_auto_upgrade_config.

§Example
use google_cloud_container_v1::model::GkeAutoUpgradeConfig;
let x = ClusterUpdate::new().set_gke_auto_upgrade_config(GkeAutoUpgradeConfig::default()/* use setters */);
Source

pub fn set_or_clear_gke_auto_upgrade_config<T>(self, v: Option<T>) -> Self

Sets or clears the value of gke_auto_upgrade_config.

§Example
use google_cloud_container_v1::model::GkeAutoUpgradeConfig;
let x = ClusterUpdate::new().set_or_clear_gke_auto_upgrade_config(Some(GkeAutoUpgradeConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_gke_auto_upgrade_config(None::<GkeAutoUpgradeConfig>);
Source

pub fn set_desired_network_tier_config<T>(self, v: T) -> Self

Sets the value of desired_network_tier_config.

§Example
use google_cloud_container_v1::model::NetworkTierConfig;
let x = ClusterUpdate::new().set_desired_network_tier_config(NetworkTierConfig::default()/* use setters */);
Source

pub fn set_or_clear_desired_network_tier_config<T>(self, v: Option<T>) -> Self

Sets or clears the value of desired_network_tier_config.

§Example
use google_cloud_container_v1::model::NetworkTierConfig;
let x = ClusterUpdate::new().set_or_clear_desired_network_tier_config(Some(NetworkTierConfig::default()/* use setters */));
let x = ClusterUpdate::new().set_or_clear_desired_network_tier_config(None::<NetworkTierConfig>);

Trait Implementations§

Source§

impl Clone for ClusterUpdate

Source§

fn clone(&self) -> ClusterUpdate

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for ClusterUpdate

Source§

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

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

impl Default for ClusterUpdate

Source§

fn default() -> ClusterUpdate

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

impl Message for ClusterUpdate

Source§

fn typename() -> &'static str

The typename of this message.
Source§

impl PartialEq for ClusterUpdate

Source§

fn eq(&self, other: &ClusterUpdate) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for ClusterUpdate

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> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
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<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

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>,