#[non_exhaustive]pub struct InstanceGroupManagersPatchPerInstanceConfigsReq {
pub per_instance_configs: Vec<PerInstanceConfig>,
/* private fields */
}Available on crate feature
instance-group-managers only.Expand description
InstanceGroupManagers.patchPerInstanceConfigs
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.per_instance_configs: Vec<PerInstanceConfig>The list of per-instance configurations to insert or patch on this managed instance group.
Implementations§
Source§impl InstanceGroupManagersPatchPerInstanceConfigsReq
impl InstanceGroupManagersPatchPerInstanceConfigsReq
pub fn new() -> Self
Sourcepub fn set_per_instance_configs<T, V>(self, v: T) -> Self
pub fn set_per_instance_configs<T, V>(self, v: T) -> Self
Sets the value of per_instance_configs.
§Example
ⓘ
use google_cloud_compute_v1::model::PerInstanceConfig;
let x = InstanceGroupManagersPatchPerInstanceConfigsReq::new()
.set_per_instance_configs([
PerInstanceConfig::default()/* use setters */,
PerInstanceConfig::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for InstanceGroupManagersPatchPerInstanceConfigsReq
impl Clone for InstanceGroupManagersPatchPerInstanceConfigsReq
Source§fn clone(&self) -> InstanceGroupManagersPatchPerInstanceConfigsReq
fn clone(&self) -> InstanceGroupManagersPatchPerInstanceConfigsReq
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 InstanceGroupManagersPatchPerInstanceConfigsReq
impl Default for InstanceGroupManagersPatchPerInstanceConfigsReq
Source§fn default() -> InstanceGroupManagersPatchPerInstanceConfigsReq
fn default() -> InstanceGroupManagersPatchPerInstanceConfigsReq
Returns the “default value” for a type. Read more
Source§impl PartialEq for InstanceGroupManagersPatchPerInstanceConfigsReq
impl PartialEq for InstanceGroupManagersPatchPerInstanceConfigsReq
Source§fn eq(&self, other: &InstanceGroupManagersPatchPerInstanceConfigsReq) -> bool
fn eq(&self, other: &InstanceGroupManagersPatchPerInstanceConfigsReq) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InstanceGroupManagersPatchPerInstanceConfigsReq
Auto Trait Implementations§
impl Freeze for InstanceGroupManagersPatchPerInstanceConfigsReq
impl RefUnwindSafe for InstanceGroupManagersPatchPerInstanceConfigsReq
impl Send for InstanceGroupManagersPatchPerInstanceConfigsReq
impl Sync for InstanceGroupManagersPatchPerInstanceConfigsReq
impl Unpin for InstanceGroupManagersPatchPerInstanceConfigsReq
impl UnwindSafe for InstanceGroupManagersPatchPerInstanceConfigsReq
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