#[non_exhaustive]pub struct TargetPoolsRemoveHealthCheckRequest {
pub health_checks: Vec<HealthCheckReference>,
/* private fields */
}Available on crate feature
target-pools only.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.health_checks: Vec<HealthCheckReference>Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs:
- https://www.googleapis.com/compute/beta/projects/project/global/httpHealthChecks/health-check
- projects/project/global/httpHealthChecks/health-check
- global/httpHealthChecks/health-check
Implementations§
Source§impl TargetPoolsRemoveHealthCheckRequest
impl TargetPoolsRemoveHealthCheckRequest
pub fn new() -> Self
Sourcepub fn set_health_checks<T, V>(self, v: T) -> Self
pub fn set_health_checks<T, V>(self, v: T) -> Self
Sets the value of health_checks.
§Example
ⓘ
use google_cloud_compute_v1::model::HealthCheckReference;
let x = TargetPoolsRemoveHealthCheckRequest::new()
.set_health_checks([
HealthCheckReference::default()/* use setters */,
HealthCheckReference::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for TargetPoolsRemoveHealthCheckRequest
impl Clone for TargetPoolsRemoveHealthCheckRequest
Source§fn clone(&self) -> TargetPoolsRemoveHealthCheckRequest
fn clone(&self) -> TargetPoolsRemoveHealthCheckRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for TargetPoolsRemoveHealthCheckRequest
impl Default for TargetPoolsRemoveHealthCheckRequest
Source§fn default() -> TargetPoolsRemoveHealthCheckRequest
fn default() -> TargetPoolsRemoveHealthCheckRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for TargetPoolsRemoveHealthCheckRequest
impl PartialEq for TargetPoolsRemoveHealthCheckRequest
Source§fn eq(&self, other: &TargetPoolsRemoveHealthCheckRequest) -> bool
fn eq(&self, other: &TargetPoolsRemoveHealthCheckRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TargetPoolsRemoveHealthCheckRequest
Auto Trait Implementations§
impl Freeze for TargetPoolsRemoveHealthCheckRequest
impl RefUnwindSafe for TargetPoolsRemoveHealthCheckRequest
impl Send for TargetPoolsRemoveHealthCheckRequest
impl Sync for TargetPoolsRemoveHealthCheckRequest
impl Unpin for TargetPoolsRemoveHealthCheckRequest
impl UnwindSafe for TargetPoolsRemoveHealthCheckRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more