#[non_exhaustive]pub struct GetGuestAttributesResponse {
pub guest_attributes: Vec<GuestAttributes>,
/* private fields */
}Expand description
Response for GetGuestAttributes.
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.guest_attributes: Vec<GuestAttributes>The guest attributes for the TPU workers.
Implementations§
Source§impl GetGuestAttributesResponse
impl GetGuestAttributesResponse
pub fn new() -> Self
Sourcepub fn set_guest_attributes<T, V>(self, v: T) -> Self
pub fn set_guest_attributes<T, V>(self, v: T) -> Self
Sets the value of guest_attributes.
§Example
ⓘ
use google_cloud_tpu_v2::model::GuestAttributes;
let x = GetGuestAttributesResponse::new()
.set_guest_attributes([
GuestAttributes::default()/* use setters */,
GuestAttributes::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for GetGuestAttributesResponse
impl Clone for GetGuestAttributesResponse
Source§fn clone(&self) -> GetGuestAttributesResponse
fn clone(&self) -> GetGuestAttributesResponse
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 Debug for GetGuestAttributesResponse
impl Debug for GetGuestAttributesResponse
Source§impl Default for GetGuestAttributesResponse
impl Default for GetGuestAttributesResponse
Source§fn default() -> GetGuestAttributesResponse
fn default() -> GetGuestAttributesResponse
Returns the “default value” for a type. Read more
Source§impl Message for GetGuestAttributesResponse
impl Message for GetGuestAttributesResponse
impl StructuralPartialEq for GetGuestAttributesResponse
Auto Trait Implementations§
impl Freeze for GetGuestAttributesResponse
impl RefUnwindSafe for GetGuestAttributesResponse
impl Send for GetGuestAttributesResponse
impl Sync for GetGuestAttributesResponse
impl Unpin for GetGuestAttributesResponse
impl UnsafeUnpin for GetGuestAttributesResponse
impl UnwindSafe for GetGuestAttributesResponse
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