#[non_exhaustive]pub struct SendDiagnosticInterruptRequest {
pub instance: String,
pub project: String,
pub zone: String,
/* private fields */
}Available on crate feature
instances only.Expand description
Synthetic request message for the sendDiagnosticInterrupt() 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.instance: StringName of the instance scoping this request.
project: StringProject ID for this request.
zone: StringThe name of the zone for this request.
Implementations§
Source§impl SendDiagnosticInterruptRequest
impl SendDiagnosticInterruptRequest
pub fn new() -> Self
Sourcepub fn set_instance<T: Into<String>>(self, v: T) -> Self
pub fn set_instance<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 SendDiagnosticInterruptRequest
impl Clone for SendDiagnosticInterruptRequest
Source§fn clone(&self) -> SendDiagnosticInterruptRequest
fn clone(&self) -> SendDiagnosticInterruptRequest
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 SendDiagnosticInterruptRequest
impl Default for SendDiagnosticInterruptRequest
Source§fn default() -> SendDiagnosticInterruptRequest
fn default() -> SendDiagnosticInterruptRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for SendDiagnosticInterruptRequest
impl PartialEq for SendDiagnosticInterruptRequest
Source§fn eq(&self, other: &SendDiagnosticInterruptRequest) -> bool
fn eq(&self, other: &SendDiagnosticInterruptRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SendDiagnosticInterruptRequest
Auto Trait Implementations§
impl Freeze for SendDiagnosticInterruptRequest
impl RefUnwindSafe for SendDiagnosticInterruptRequest
impl Send for SendDiagnosticInterruptRequest
impl Sync for SendDiagnosticInterruptRequest
impl Unpin for SendDiagnosticInterruptRequest
impl UnwindSafe for SendDiagnosticInterruptRequest
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