#[non_exhaustive]pub struct InstanceBulkInsertOperationError {
pub metadata: InstancesBulkInsertOperationMetadata,
}Expand description
Details about an instance bulk insert long-runing operation error.
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.metadata: InstancesBulkInsertOperationMetadataThe information about all zonal actions and their state.
Implementations§
Source§impl InstanceBulkInsertOperationError
impl InstanceBulkInsertOperationError
Sourcepub fn set_metadata(self, v: InstancesBulkInsertOperationMetadata) -> Self
pub fn set_metadata(self, v: InstancesBulkInsertOperationMetadata) -> Self
Set the metadata field.
§Example
use google_cloud_compute_v1::model::{BulkInsertOperationStatus, InstancesBulkInsertOperationMetadata};
let error = InstanceBulkInsertOperationError::new().set_metadata(
InstancesBulkInsertOperationMetadata::new().set_per_location_status([
("zones/us-central1-a", BulkInsertOperationStatus::new()
.set_failed_to_create_vm_count(42))
])
);Trait Implementations§
Source§impl Clone for InstanceBulkInsertOperationError
impl Clone for InstanceBulkInsertOperationError
Source§fn clone(&self) -> InstanceBulkInsertOperationError
fn clone(&self) -> InstanceBulkInsertOperationError
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 InstanceBulkInsertOperationError
impl Default for InstanceBulkInsertOperationError
Source§fn default() -> InstanceBulkInsertOperationError
fn default() -> InstanceBulkInsertOperationError
Returns the “default value” for a type. Read more
Source§impl PartialEq for InstanceBulkInsertOperationError
impl PartialEq for InstanceBulkInsertOperationError
Source§fn eq(&self, other: &InstanceBulkInsertOperationError) -> bool
fn eq(&self, other: &InstanceBulkInsertOperationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InstanceBulkInsertOperationError
Auto Trait Implementations§
impl Freeze for InstanceBulkInsertOperationError
impl RefUnwindSafe for InstanceBulkInsertOperationError
impl Send for InstanceBulkInsertOperationError
impl Sync for InstanceBulkInsertOperationError
impl Unpin for InstanceBulkInsertOperationError
impl UnwindSafe for InstanceBulkInsertOperationError
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