#[non_exhaustive]pub struct BulkInsertInstanceResourcePerInstanceProperties {
pub hostname: Option<String>,
pub name: Option<String>,
/* private fields */
}Available on crate features
instances or region-instances only.Expand description
Per-instance properties to be set on individual instances. To be extended in the future.
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.hostname: Option<String>Specifies the hostname of the instance. More details in: https://cloud.google.com/compute/docs/instances/custom-hostname-vm#naming_convention
name: Option<String>Output only. This field is only temporary. It will be removed. Do not use it.
Implementations§
Source§impl BulkInsertInstanceResourcePerInstanceProperties
impl BulkInsertInstanceResourcePerInstanceProperties
pub fn new() -> Self
Sourcepub fn set_hostname<T>(self, v: T) -> Self
pub fn set_hostname<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_hostname<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_hostname<T>(self, v: Option<T>) -> Self
Sourcepub fn set_or_clear_name<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_name<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for BulkInsertInstanceResourcePerInstanceProperties
impl Clone for BulkInsertInstanceResourcePerInstanceProperties
Source§fn clone(&self) -> BulkInsertInstanceResourcePerInstanceProperties
fn clone(&self) -> BulkInsertInstanceResourcePerInstanceProperties
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 BulkInsertInstanceResourcePerInstanceProperties
impl Default for BulkInsertInstanceResourcePerInstanceProperties
Source§fn default() -> BulkInsertInstanceResourcePerInstanceProperties
fn default() -> BulkInsertInstanceResourcePerInstanceProperties
Returns the “default value” for a type. Read more
Source§impl PartialEq for BulkInsertInstanceResourcePerInstanceProperties
impl PartialEq for BulkInsertInstanceResourcePerInstanceProperties
Source§fn eq(&self, other: &BulkInsertInstanceResourcePerInstanceProperties) -> bool
fn eq(&self, other: &BulkInsertInstanceResourcePerInstanceProperties) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BulkInsertInstanceResourcePerInstanceProperties
Auto Trait Implementations§
impl Freeze for BulkInsertInstanceResourcePerInstanceProperties
impl RefUnwindSafe for BulkInsertInstanceResourcePerInstanceProperties
impl Send for BulkInsertInstanceResourcePerInstanceProperties
impl Sync for BulkInsertInstanceResourcePerInstanceProperties
impl Unpin for BulkInsertInstanceResourcePerInstanceProperties
impl UnwindSafe for BulkInsertInstanceResourcePerInstanceProperties
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