#[non_exhaustive]pub struct WaitRequest {
pub operation: String,
pub project: String,
pub zone: String,
/* private fields */
}Available on (crate features
autoscalers or disks or future-reservations or instance-group-manager-resize-requests or instance-group-managers or instance-groups or instance-settings or instances or instant-snapshots or network-endpoint-groups or node-groups or reservation-blocks or reservation-slots or reservation-sub-blocks or reservations or storage-pools or target-instances or zone-operations) and crate feature zone-operations only.Expand description
Synthetic request message for the wait() method.
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.operation: StringName of the Operations resource to return, or its unique numeric identifier.
project: StringProject ID for this request.
zone: StringName of the zone for this request.
Implementations§
Source§impl WaitRequest
impl WaitRequest
pub fn new() -> Self
Sourcepub fn set_operation<T: Into<String>>(self, v: T) -> Self
pub fn set_operation<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_project<T: Into<String>>(self, v: T) -> Self
pub fn set_project<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for WaitRequest
impl Clone for WaitRequest
Source§fn clone(&self) -> WaitRequest
fn clone(&self) -> WaitRequest
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 WaitRequest
impl Debug for WaitRequest
Source§impl Default for WaitRequest
impl Default for WaitRequest
Source§fn default() -> WaitRequest
fn default() -> WaitRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for WaitRequest
impl PartialEq for WaitRequest
impl StructuralPartialEq for WaitRequest
Auto Trait Implementations§
impl Freeze for WaitRequest
impl RefUnwindSafe for WaitRequest
impl Send for WaitRequest
impl Sync for WaitRequest
impl Unpin for WaitRequest
impl UnwindSafe for WaitRequest
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