#[non_exhaustive]pub struct ListInstancePartitionOperationsResponse {
pub operations: Vec<Operation>,
pub next_page_token: String,
pub unreachable_instance_partitions: Vec<String>,
/* private fields */
}
Expand description
The response for ListInstancePartitionOperations.
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.operations: Vec<Operation>
The list of matching instance partition long-running operations. Each
operation’s name will be
prefixed by the instance partition’s name. The operation’s
metadata field type
metadata.type_url
describes the type of the metadata.
next_page_token: String
next_page_token
can be sent in a subsequent
ListInstancePartitionOperations
call to fetch more of the matching metadata.
unreachable_instance_partitions: Vec<String>
The list of unreachable instance partitions. It includes the names of instance partitions whose operation metadata could not be retrieved within instance_partition_deadline.
Implementations§
Source§impl ListInstancePartitionOperationsResponse
impl ListInstancePartitionOperationsResponse
pub fn new() -> Self
Sourcepub fn set_operations<T, V>(self, v: T) -> Self
pub fn set_operations<T, V>(self, v: T) -> Self
Sets the value of operations.
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
Sourcepub fn set_unreachable_instance_partitions<T, V>(self, v: T) -> Self
pub fn set_unreachable_instance_partitions<T, V>(self, v: T) -> Self
Sets the value of unreachable_instance_partitions.
Trait Implementations§
Source§impl Clone for ListInstancePartitionOperationsResponse
impl Clone for ListInstancePartitionOperationsResponse
Source§fn clone(&self) -> ListInstancePartitionOperationsResponse
fn clone(&self) -> ListInstancePartitionOperationsResponse
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 ListInstancePartitionOperationsResponse
impl Default for ListInstancePartitionOperationsResponse
Source§fn default() -> ListInstancePartitionOperationsResponse
fn default() -> ListInstancePartitionOperationsResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListInstancePartitionOperationsResponse
impl PartialEq for ListInstancePartitionOperationsResponse
Source§fn eq(&self, other: &ListInstancePartitionOperationsResponse) -> bool
fn eq(&self, other: &ListInstancePartitionOperationsResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ListInstancePartitionOperationsResponse
Auto Trait Implementations§
impl Freeze for ListInstancePartitionOperationsResponse
impl RefUnwindSafe for ListInstancePartitionOperationsResponse
impl Send for ListInstancePartitionOperationsResponse
impl Sync for ListInstancePartitionOperationsResponse
impl Unpin for ListInstancePartitionOperationsResponse
impl UnwindSafe for ListInstancePartitionOperationsResponse
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